Hi all,

I have already some important variables in the current R session;

and I wanted to load some rData file which was saved during the last R
session using "save.image"...

But how do I avoid the newly loaded data/variables messing with my existing
data/variables?

In Matlab, I can do:

mynewdata=load("imagefromlastRsession.rData")

and then I can access the variables therein as follows:

mynewdata.variable1
 mynewdata.variable2
 mynewdata.variable3
...
...
...

As you can see, this way, these variables won't interfere with my existing
variables in the current R session...

How to do that?

Thanks a lot!

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to