Dear All, 

I try to read the SAS transport file in R, but it shows error. Please help!
I am using R 2.11.1 

library(foreign) 
download.file("http://isites.harvard.edu/fs/docs/icb.topic35387.files/demo_c.xpt","C:/Desktop/demo_c.xpt";)
 
sasxport <- read.xport("C:/Desktop/demo_c.xpt") 

Error in lookup.xport(file) : file not in SAS transfer format  


-- 
View this message in context: 
http://r.789695.n4.nabble.com/How-to-this-SAS-transport-file-in-R-tp3073969p3073969.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to