Displaying 1 result from an estimated 1 matches for "fadata2".
Did you mean:
fadata
2008 Dec 03
2
reading version 9 SAS datasets in R
...S Analysis\Data';
filename transp 'D:\CES Analysis\Data\fadata.xpt';
/* create a transport file - R cannot read file created by proc cport */
proc cport data=ces2.fadata file=transp;
run;
I then tried to read it in R using:
> library(foreign)
> library(Hmisc)
> fadata2 <- sasxport.get("D:\\CES Analysis\\Data\\fadata.xpt")
Error in lookup.xport(file) : file not in SAS transfer format
Next I tried using the libname statement and the xport engine to create
a transport file. The problem with this method is that variable names
cannot be more than 8 c...