ns-internals              package:base              R Documentation

_N_a_m_e _S_p_a_c_e _I_n_t_e_r_n_a_l_s

_D_e_s_c_r_i_p_t_i_o_n:

     Internal name space support functions.  Not intended to be called
     directly.

_U_s_a_g_e:

     asNamespace(ns, base.OK = TRUE)
     getNamespaceInfo(ns, which)
     importIntoEnv(impenv, impnames, expenv, expnames)
     isBaseNamespace(ns)
     namespaceExport(ns, vars)
     namespaceImport(self, ...)
     namespaceImportFrom(self, ns, vars)
     namespaceImportClasses(self, ns, vars)
     namespaceImportMethods(self, ns, vars)
     packageHasNamespace(package, package.lib)
     parseNamespaceFile(package, package.lib, mustExist = TRUE)
     registerS3method(genname, class, method, envir = parent.frame())
     registerS3methods(info, package, env)
     setNamespaceInfo(ns, which, val)
     .mergeExportMethods(new, ns)
     .knownS3Generics

_A_r_g_u_m_e_n_t_s:

      ns: string or name space environment.

 base.OK: logical.

  impenv: environment.

  expenv: name space environment.

    vars: character vector.

    self: name space environment.

 package: string naming the package/name space to load.

package.lib: character vector specifying library.

mustExist: logical.

 genname: character.

   class: character.

envir, env: environment.

    info: a 3-column character matrix.

   which: character.

     val: any object.

     ...: character arguments.

_D_e_t_a_i_l_s:

     'packageHasNamespace' does not indicate if the package has a
     namespace, rather if it has a 'NAMESPACE' file, which 'base' does
     not.  But then you are not intended to be using it ....

_A_u_t_h_o_r(_s):

     Luke Tierney

