What options does R have for reading files in the native SAS format, sas7bdat, into R?
The NCES Common Core, for example, contains an extensive repository of data files saved in this format. For concreteness, let's focus on trying to read in this file from LEA Universe in 1997-98, which contains education-agency-level demographics for entities in all states beginning A through I.
Here's a preview from SAS of the data:
What's the simplest way to bring this data in to my R environment? I don't have any version of SAS available and am not willing to pay, so simply converting it to .csv would be a hassle.

sas7bdatworked fine for all but one of the files I was looking at (specifically, this one); in reporting the error to thesas7bdatdeveloper, Matthew Shotwell, he also pointed me in the direction of Hadley'shavenpackage in R which also has aread_sasmethod.This method is superior for two reasons:
1) It didn't have any trouble reading the above-linked file 2) It is much (I'm talking much) faster than
read.sas7bdat. Here's a quick benchmark (on this file, which is smaller than the others) for evidence:That's right--
haven::read_sastakes (on average) 99.5% less time thansas7bdat::read.sas7bdat.minor update
I previously wasn't able to figure out whether the two methods produced the same data (i.e., that both have equal levels of fidelity with respect to reading the data), but have finally done so:
However, note that
read.sas7bdathas kept a massive list of attributes for the file, presumably a holdover from SAS:So, if by any chance you need these attributes (I know some people are particularly keen on the
labels, for instance), perhapsread.sas7bdatis the option for you after all.