search                 package:base                 R Documentation

_G_i_v_e _S_e_a_r_c_h _P_a_t_h _f_o_r _R _O_b_j_e_c_t_s

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

     Gives a list of `attach'ed packages (see `library'), and R
     objects, usually `data.frames'.

_U_s_a_g_e:

     search()
     searchpaths()

_V_a_l_u_e:

     A character vector, starting with `".GlobalEnv"', and ending with
     `"package:base"' which is R's base package required always.

     `searchpaths' gives a similar character vector, with the entries
     for packages being the path to the package used to load the code.

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

     `attach' and `detach' to change the search ``path'', `objects' to
     find R objects in there.

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

     search()
     searchpaths()

