Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The foreign package has the function read.spss() for
reading SPSS files. To load data from the first sheet of an SPSS
file:
# Only need to install the first timeinstall.packages("foreign")library(foreign)data<-read.spss("datafile.sav")
The foreign package also includes functions to load from other formats, including: