Created
April 16, 2012 18:15
-
-
Save geofferyzh/2400459 to your computer and use it in GitHub Desktop.
RinAction - R Importing Data - SAS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################# | |
# 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