[R] What's analagous to data.restore?

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Jul 2 08:45:12 CEST 1999


On Fri, 2 Jul 1999, Patrick Connolly wrote:

> I've used Splus for 5 or 6 years and recently installed R for Linux.
> 
> I want to get a whole bunch of objects from S over to R.  I'd have
> thought data.dump and data.restore would work, but it's done a different
> way.  I looked all through the FAQ but my question doesn't seem to be
> "Frequent" enough to be mentioned.

data.dump/restore uses the internal representation of S objects. You
need to go via the `outside world' text representation, that is use
dump and source. The R equivalents of data.dump/restore are save/load,
again for R's use only.

In any case, you will probably need to do _some_ editing of the objects,
especially functions.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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