[R] Reading sas7bdat files directly

Duncan Murdoch murdoch at stats.uwo.ca
Fri Feb 5 00:55:47 CET 2010


Alex Bryant wrote:
> Hi,   I have a need to process (in real-time) a large number of .sas7bdat files from within R.  The problem is I don't want to convert these files to .xpt (transport) every time.  So just checking if anyone has a (viable) way to read .sas7bdat files directly into R?

SAS now advertises some sort of R support (see 
http://support.sas.com/rnd/app/studio/Rinterface2.html), so maybe you 
could get SAS to convert them to a native R format. I think you won't 
find a way for R to read a SAS proprietary format.

Duncan Murdoch



More information about the R-help mailing list