[R] Two R sessions?
Paul Y. Peng
ypeng at math.mun.ca
Tue Apr 2 05:04:07 CEST 2002
Hi R users,
I am still a relatively new R user migrated from S+. I wonder in R
how do you handle one difference between R and S+. S+ saves objects
as different files in .Data directory while R saves all objects in
a big file .RData. In S+, I can start two S+ sessions from the same
directory and work simultaneously as long as new objects in the two
sessions are not in the same names. This is particularly useful in
simulation studies. However, this method fails for R. I am curious
how other R users handle this thing in R. Naively, I can copy .Rdata
into another directory and then start another R session there. When
the job is done, dump all new objects in one .Rdata into the other
.Rdata. But maybe someone has a better way to do it.
BTW, why does R save objects in one big file rather than as different
files in a directory as S+ does?
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help