[R] How to this SAS transport file in R?

zhiji19 zhiji19 at gmail.com
Mon Dec 6 06:25:58 CET 2010


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.



More information about the R-help mailing list