Skip to content
Prev 8087 / 398506 Next

import data from splus

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,
_                           
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 -------------
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:

            
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.