> -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of yf > Sent: Thursday, February 17, 2011 2:35 PM > To: r-help@r-project.org > Subject: [R] convert the sas file into csv in R > > > i am trying to convert sas file into csv. I used write.csv(a, > file="cool.csv") but nothing come out. i don't know why. Thanks. > > > library(Hmisc) > a<- sasxport.get("C:\\Users\.....") > write.csv(a, file="cool.csv")
What do you mean "nothing come out"? Where did you look for the file? It should have been written to your current working directory. You might try specifying a complete path so you know where you expect to find the CSV file. Dan Daniel J. Nordlund Washington State Department of Social and Health Services Planning, Performance, and Accountability Research and Data Analysis Division Olympia, WA 98504-5204 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.