[R] help - read SAS into R

Nordlund, Dan (DSHS/RDA) NordlDJ at dshs.wa.gov
Tue Aug 31 20:09:22 CEST 2010


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of choonhong ang
> Sent: Tuesday, August 31, 2010 10:25 AM
> To: r-help at r-project.org
> Subject: [R] help - read SAS into R
> 
> HI All,
> 
> How to read SAS data directly into R ?
> 
> Thank you
> 

You may or may not be able to depending on (1) what you mean by "directly," (2) whether the "SAS data" is in a proprietary SAS dataset format or in a portable transport format, and (3) whether you have SAS available to run.  Depending on your answers to the above questions you have the options of using the foreign package, Harrell's Hmisc package, the RODBC package, and probably some others.  So, tell us about your particular situation, data format, availability of SAS, OS, ....

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




More information about the R-help mailing list