library.dynam              package:base              R Documentation

_L_o_a_d_i_n_g _S_h_a_r_e_d _L_i_b_r_a_r_i_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Load the specified file of compiled code if it has not been loaded
     already.

_U_s_a_g_e:

     library.dynam(chname, package = .packages(), lib.loc = .lib.loc)

_A_r_g_u_m_e_n_t_s:

  chname: a character string naming a shared library to load.

 package: a character vector with the names of packages to search
          through.

 lib.loc: a character vector describing the location of R library trees
          to search through.

_D_e_t_a_i_l_s:

     This is designed to be used inside a package rather than at the
     command line, and should really only be used inside
     `.First.lib()'.  The system-specific extension for shared
     libraries (e.g., `.so' or `.sl' on Unix systems) should not be
     added.

_V_a_l_u_e:

     The `.Dyn.libs' vector with the names of packages which have used
     `library.dynam(..)' in the current R session.

     It is returned as `invisible', unless the `chname' argument is
     missing.

     Users should never set `.Dyn.libs' directly.

_S_e_e _A_l_s_o:

     `.First.lib', `library', `dyn.load', `.packages', `.lib.loc'

_E_x_a_m_p_l_e_s:

     library.dynam()# which packages have been ``dynamically loaded''

