[R] loading saved files with objects in same names

William Dunlap wdunlap at tibco.com
Tue Aug 19 05:03:02 CEST 2014


Rolf,
   Yes, I meant to write envA$object, etc, but did not read it twice
before running off to dinner.  Thanks.
Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Mon, Aug 18, 2014 at 7:52 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
> On 19/08/14 14:20, William Dunlap wrote:
>>
>> Have you tried the 'envir' argument to load()?  E.g.,
>>     envA <- new.environment()
>>     load("A.RData", envir=envA)
>>     envB <- new.environment()
>>     load("B.RData", envir=envB)
>>     plot(A$object, B$object)
>
>
>
> Did you mean
>
>      plot(envA$object, envB$object)
>
> ???  Or am I misunderstanding something?
>
> cheers,
>
> Rolf
>
>
>
> --
> Rolf Turner
> Technical Editor ANZJS



More information about the R-help mailing list