While I prefer to use a text delimited file to enter data in to R, sometimes only an SPSS file is provided for some datasets. I like the sjmisc and sjPlot packages because of their handling of values and labels, and because they use haven by default to read the file, meaning it’s fast.

Load SPSS .sav files with the sjPlot package:

# install the package
install.packages(c("sjPlot", "sjmisc"))
require("sjPlot")
require("sjmisc")

# Open the .sav file with: