[R] how to identify a symbol is defined from which package

Dieter Menne dieter.menne at menne-biomed.de
Wed Mar 25 08:19:06 CET 2009


hong shen <hshen_1998 <at> yahoo.com> writes:

> 
> I encountered a situation that a data frame is defined by two packages. Both
of them are loaded by library().

> 2. If I want to reference the data frame from package A insted of B, how can I
do it?

Either change the loading sequence of library(). Or, if you want both, use

library(a)
aFrame = theFrame
library(b)
bFrame = the Frame # This step not really required

Dieter




More information about the R-help mailing list