Skip to content
Prev 246618 / 398506 Next

Reading large SAS dataset in R

Santanu, 

I second Phil's suggestion. sas.get is actually quite nice. 

Another current option is using a command-line utility called dsread (http://www.oview.co.uk/dsread/) to convert the sas7bdat file to a csv or tsv format, which can then easily be read into R using read.table and its derivatives. Frank Harrell (author of the Hmisc package) commented positively on this approach on the list a couple of months back. 

Abhijit
On Jan 5, 2011, at 5:51 PM, Phil Spector wrote: