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.

_R_e_f_e_r_e_n_c_e_s:

     Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
     Language_. Wadsworth & Brooks/Cole. ('search'.)

     Chambers, J. M. (1998) _Programming with Data. A Guide to the S
     Language_. Springer. ('searchPaths'.)

_S_e_e _A_l_s_o:

     '.packages' to list just the packages on search path.

     'loadedNamespaces' to list loaded name spaces.

     '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()

