\begin{Schunk}
\begin{Sinput}
> library(memisc)
> ### reads SPSS varnames and labels 
> idat <- spss.system.file("/home/pauljohn/ps/ps706/DataExample-GSS2006/gss2006.sav") 
> ### Caution: Following is huge output! 
> # codebook(idat)
> ### Forces R to read whole numbers 
> idat2 <- as.data.set(idat)
> ### Watch out: # names(idat2) ### will show 5137 variables
> ### Can push that into a standard R data frame ### 
> dat <- as.data.frame(idat2)
> ### free up memory used by idat objects 
> rm(idat2) 
> rm(idat)
\end{Sinput}
\end{Schunk}
