ns-reflect.Rd              package:base              R Documentation

_N_a_m_e _S_p_a_c_e _R_e_f_l_e_c_t_i_o_n _S_u_p_p_o_r_t

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

     Functions to support reflection on name space objects.

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

     getExportedValue(ns, name)
     getNamespace(name)
     getNamespaceExports(ns)
     getNamespaceImports(ns)
     getNamespaceName(ns)
     getNamespaceUsers(ns)
     getNamespaceVersion(ns)

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

      ns: string or name space object.

    name: string or name.

_D_e_t_a_i_l_s:

     'getExportedValue' returns the value of the exported variable
     'name' in name space 'ns'.

     'getNamespace' returns the environment representing the name space
     'name'.  The name space is loaded if necessary.

     'getNamespaceExports' returns a character vector of the names
     exported by 'ns'.

     'getNamespaceImports' returns a representation of the imports used
     by name space 'ns'.  This representation is experimental and
     subject to change.

     'getNamespaceName' and 'getNamespaceVersion' return the name and
     version of the name space 'ns'.

     'getNamespaceUsers' returns a character vector of the names of the
     name spaces that import name space 'ns'.

_A_u_t_h_o_r(_s):

     Luke Tierney

