Skip to content
Back to formatted view

Raw Message

Message-ID: <1291613158586-3073969.post@n4.nabble.com>
Date: 2010-12-06T05:25:58Z
From: zhiji19
Subject: How to this SAS transport file in R?

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.