I am trying to import a permanent SAS data
set using read.ssd in the foreign library. I get
the following error:

> list.files("C:/temp")
[1] "newdat1.sas7bdat" "snpm1.sas7bdat" "test1.sas"
> library(foreign)
> newdat1 <- read.ssd("C:/temp","newdat1")
SAS failed. SAS program at C:\DOCUME~1\paul\LOCALS~1\Temp\Rtmp21143\file30218.sas
a log and other error products should be in the vicinity
Warning messages:
1: sas not found
2: ls not found
3: SAS return code was -1 in: read.ssd("C:/temp", "newdat1")


I can export the SAS data as a tab delimited file and then read
it into R with read.delim, but I have many SAS files I need to
look at. Does anyone have experience with this?

Thanks

Paul Green

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to