

load {base}                                  R Documentation

_R_e_l_o_a_d _S_a_v_e_d _D_a_t_a_s_e_t_s

_D_e_s_c_r_i_p_t_i_o_n_:

     This function will reload the datasets written to a
     file with the function `save'.

_U_s_a_g_e_:

     load(filename, envir = sys.frame(sys.parent())))

_A_r_g_u_m_e_n_t_s_:

filename: a character string giving the name of the file to
          load.

   envir: the environment where the data should be loaded

_S_e_e _A_l_s_o_:

     `save'.

_E_x_a_m_p_l_e_s_:

     # save all data
     save(list = ls(), file= "all.Rdata")

     # restore the saved values to the current environment
     load("all.Rdata")

     # restore the saved values to the global environment
     load("all.Rdata",globalenv())

