
As recommended, I have tried the following code to solve my problem
importing data to R from S-Plus 7.0. Unfortunately, I have not had
success.

In S-Plus:

> data.dump('data', file='C:\\temp\\ddump.sdd', oldStyle=T)

This resulted in the production of a file called "ddump.sdd" that I can
import into S-Plus without any problem.  However, when I use the
following code in R ...

In R:

> d <- data.restore(file='C:\\temp\\ddump.sdd')
> d
[1] "C:\\temp\\ddump.sdd"

> d <- data.restore('C:\\temp\\ddump.sdd')
> d
[1] "C:\\temp\\ddump.sdd"
> 

I also tried the following:

> d <- read.S(file='C:\\temp\\ddump.sdd')
Error in read.S(file = "C:\\temp\\ddump.sdd") : 
        not an S object

I thought that S-Plus might be doing something funny when I save as a
.sdd file, so I tried saving as "ddump.dat" but got exactly the same
results.

I have been able to save my original datafile as a csv and import it,
but I had hoped that it would be possible to keep my variable formats by
importing the S dataframe into R directly.

Brant Inman

	[[alternative HTML version deleted]]

