Displaying 1 result from an estimated 1 matches for "ces2".
Did you mean:
ce2
2008 Dec 03
2
reading version 9 SAS datasets in R
Hi,
I am trying to read a SAS version 9.1.3 SAS dataset into R (to preserve
the SAS labels), but am unable to do so (I have read in a CSV version).
I first created a transport file using the SAS code:
libname ces2 'D:\CES 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(Hm...