Spencer Graves
2003-Mar-08 19:54 UTC
[R] How to transfer lists to other computers or to S-Plus
Hi, All: How can I transfer complicated objects like lists or a set of several objects from one computer to another or from R to S-Plus? With S-Plus, I've used "data.dump" and "data.restore". Package "foreign" in R has "data.restore" but not "data.dump", and the documentation for "data.restore" says that certain objects like formulas and functions may get mangled. Thanks, Spencer Graves
ripley@stats.ox.ac.uk
2003-Mar-08 20:07 UTC
[R] How to transfer lists to other computers or to S-Plus
dump()/source() is your best bet. In some versions of S-PLUS, you may need to increase options(digits=) before dumping. On Sat, 8 Mar 2003, Spencer Graves wrote:> How can I transfer complicated objects like lists or a set of several > objects from one computer to another or from R to S-Plus? > > With S-Plus, I've used "data.dump" and "data.restore". Package > "foreign" in R has "data.restore" but not "data.dump", and the > documentation for "data.restore" says that certain objects like formulas > and functions may get mangled.(They are intended for people with S-PLUS data.dump's and no S-PLUS.) -- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595