getLoadedDLLs              package:base              R Documentation

_G_e_t _D_L_L_s _L_o_a_d_e_d _i_n _C_u_r_r_e_n_t _S_e_s_s_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This function provides a way to get a list of all the Dynamically
     Loadable Libraries (DLLs) that are currently loaded in the current
     R session.

_U_s_a_g_e:

     getLoadedDLLs()

_D_e_t_a_i_l_s:

     This queries the internal table that manages the DLLs.

_V_a_l_u_e:

     An object of class '"DLLInfoList"' which is a list with an element
     corresponding to each DLL that is currently loaded in the session.
      Each element is an object of class '"DLLInfo"' which has the
     following entries.

    name: the abbreviated name.

    path: the fully qualified name of the file which was dynamically
          loaded.

dynamicLookup: a logical value indicating whether R uses only the
          registration information to resolve symbols or whether it
          searches the entire symbol table of the DLL.

  handle: a reference to the C-level data structure that provides
          access to the contents of the DLL. This is an object of class
          '"DLLHandle'". 


     Note that the class 'DLLInfo' has an overloaded method for '$'
     which can be used to resolve native symbols within that DLL. 
     Therefore, one must access the R-level elements described above
     using '[[', e.g. 'x[["name"]]' or 'x[["handle"]]'.

_N_o_t_e:

     We are starting to use the 'handle' elements in the DLL object to
     resolve symbols more directly in R.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang duncan@wald.ucdavis.edu.

_S_e_e _A_l_s_o:

     'getDLLRegisteredRoutines', 'getNativeSymbolInfo'

_E_x_a_m_p_l_e_s:

     getLoadedDLLs()

