

attach {base}                                R Documentation

_A_t_t_a_c_h _S_e_t _o_f _R _O_b_j_e_c_t_s _t_o _S_e_a_r_c_h _P_a_t_h

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

     A new database is attached. This means that its objects
     are made available to R.

     -- should say more here --

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

     attach(what, pos = 2, name = deparse(substitute(what)))

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

    what: ``database'' to attach. Typically a `data.frame'.

     pos: integer specifying position in `search()' where to
          attach.

    name: alternative way to specify the database to be
          attached.

_V_a_l_u_e_:

     The `environment' is returned invisibly with a `"name"'
     attribute.

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

     `library', `detach', `search', `objects', `environ-
     ment'.

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

     data(women)
     attach(women)
     summary(height)   #- which belongs to `women'

