hi there, anybody knows how to import data into R from splus directly? I have a huge amount of data in splus format, which will cost forever for me to transform the data back to ascii or something else and then read them into R. thanks a lot. ximing -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 13 Nov 2000, ximing wrote:> anybody knows how to import data into R from splus directly? I have a huge > amount of data in splus format, which will cost forever for me to transform > the data back to ascii or something else and then read them into R.If that really will cost forever, then I think any route will take a long time (and perhaps let that be a lesson not to store data in a proprietary format). You may find that the function readSdata in package Rstreams helps. The normal route is to dump in S-PLUS and source in R. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 13 Nov 2000, ximing wrote:> hi there, > anybody knows how to import data into R from splus directly? I have a huge > amount of data in splus format, which will cost forever for me to transform > the data back to ascii or something else and then read them into R. > thanks a lot.There's a nice function readSfile() in the Rstreams package, available at CRAN. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
hi, I have a somewhat similar problem. I also need to move huge, somewhat complicated objects from Splus5 to R. I need data.restore() in R (in my case it should be S4/Splus5 aware). I took a quick look at the Rstream manual, but I didn't see anything that I could easily use/modify for this problem (right?). Is there something out there I could use, or will data.dump()/data.restore() need to be written for R? (BTW I think this is not an R issue per se, but rather an R-S interface issue -- it is a fact that most of my collaborators use Splus.) For the record,> version_ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status Under development (unstable) major 1 minor 2.0 year 2000 month 11 day 08 language R>David A. James Statistics Research, Room 2C-253 Phone: (908) 582-3082 Bell Labs, Lucent Technologies Fax: (908) 582-3340 Murray Hill, NJ 09794-0636 ------------- Begin Forwarded Message -------------> Date: Tue, 14 Nov 2000 07:22:09 +0000 (GMT) > > : ximing <ximing at are.berkeley.edu>cc: r-help at stat.math.ethz.ch Subject: Re: [R] import data from splus MIME-Version: 1.0 On Mon, 13 Nov 2000, ximing wrote:> anybody knows how to import data into R from splus directly? I have a huge > amount of data in splus format, which will cost forever for me to transform > the data back to ascii or something else and then read them into R.If that really will cost forever, then I think any route will take a long time (and perhaps let that be a lesson not to store data in a proprietary format). You may find that the function readSdata in package Rstreams helps. The normal route is to dump in S-PLUS and source in R. -- 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 ------------- End Forwarded Message ------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._