Skip to content

Instantly share code, notes, and snippets.

@geofferyzh
Created April 16, 2012 18:15
Show Gist options
  • Save geofferyzh/2400459 to your computer and use it in GitHub Desktop.
Save geofferyzh/2400459 to your computer and use it in GitHub Desktop.
RinAction - R Importing Data - SAS
#################################################
# Import data from SAS #
#################################################
# Save SAS dataset as comma-delimited text file using PROC EXPORT
proc export data=mydata
outfile="mydata.csv"
dbms=csv;
run;
mydata <-read.table("mydata.csv", header=TRUE, sep=",")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment