Have you considered using "dump" and "source"? The
"foreign" package
functions should also work, but I have to set priorities on the things I
do that consume time.
hope this helps. spencer graves
Peter Flom wrote:> Hello
>
> I am a newbie to R, so excuse me if this is basic.
>
> I am using R 1.7.1 on a Windows machine (and also S+ 6)
>
> I have an S+ data frame called da.hh, which is stored in
>
> C:\Program Files\Insightful\splus6\users\Flom\.data
>
> I want to read this file into R. After reading the R Data
> Import/Export file, I loaded the foreign package with library(foreign)
> and then tried
>
> read.S(C:\\Program
> Files\\Insightful\\splus6\\users\\Flom\\.data("_data",
"da.hh"))
>
> I also tried it with single \
>
> In both cases, I got "syntax error"
>
>
> Thanks in advance
>
> Peter L. Flom, PhD
> Assistant Director, Statistics and Data Analysis Core
> Center for Drug Use and HIV Research
> National Development and Research Institutes
> 71 W. 23rd St
> www.peterflom.com
> New York, NY 10010
> (212) 845-4485 (voice)
> (917) 438-0894 (fax)
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help