[R] R:how to separate stuff?

Friedrich Leisch Friedrich.Leisch at ci.tuwien.ac.at
Fri Jul 16 13:14:41 CEST 1999

>>>>> On Fri, 16 Jul 1999 12:48:52 +0200 (MET DST),
>>>>> Agustin Lobo (AL) wrote:

AL> Thanks for your help on moving files from
AL> S+ to R and on attaching directories.

AL> If attaching directories is NOT possible in R,
AL> is there any other way to separate
AL> objects into different folders or something similar?
AL> For example, to keep user functions for multivariate
AL> analysis in a different "place" than user functions on 
AL> time series, or to keep data objects of project_1 
AL> in a different place than data objects of project_2.

The preferred way of doing this is creating a seperate package for
these, see help(library) for details.

AL> Also, where does R put the objects that are saved? 
AL> in .Rdata? Could not be possible to have different .Rdata
AL> (.Rdata_1, .Rdata_2...) ?

R creates the .RData file in the current working directory, so the
easiest way is to create a directory for each project and simply
start R there.

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 mailing list