[R] read.spss

Chuck Cleland ccleland at optonline.net
Fri Mar 12 11:53:17 CET 2004


Margarida Júlia Rodrigues Igreja wrote:
> Hi,
> I would like to read a spss file in R.
> When i type read.spss("...")
> Comes the error: couldn't find function "read.spss"
> What shall i do?

   Doing help.search("read.spss") would tell you that it's in the 
foreign package.  You need to do

library(foreign)
read.spss("...")

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894




More information about the R-help mailing list