Displaying 1 result from an estimated 1 matches for "withnamespace".
2003 Sep 05
1
namespaces and S4 methods/classes
...8. In case of serious problems, you should be able to go back to a
non-namespace version of the methods package by moving the
NAMESPACE file in $R_HOME/src/library/methods, removing all.R and
running make. (At least, it works here.)
Here are examples of two package NAMESPACE files: withNamespace and
withNamespace2, the latter using the former:
withNamespace/NAMESPACE:
import(methods)
export(f1, ng1)
exportMethods("[", initialize)
exportClasses(c1)
-----------------------
withNamespace2/NAMESPACE:
import(methods)
importFrom(withNamespace, ng1)
importClassesFrom(withNamespace,...