Hello, In R, How to read SPSS file and access the data item? Thank you. Regards, Suman Kundu [[alternative HTML version deleted]]
On 10/19/2009 8:06 AM, Suman Kundu wrote:> Hello, > > In R, How to read SPSS file and access the data item?RSiteSearch('SPSS', restrict='function')> Thank you. > Regards, > Suman Kundu > > [[alternative HTML version deleted]] > > ------------------------------------------------------------------------ > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Chuck Cleland, Ph.D. NDRI, Inc. (www.ndri.org) 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
Hi Suman, See the read.spss function in the foreign package, e.g.: # install.packages(foreign) require(foreign) ?read.spss HTH, Jorge On Mon, Oct 19, 2009 at 8:06 AM, Suman Kundu <> wrote:> Hello, > > In R, How to read SPSS file and access the data item? > > Thank you. > Regards, > Suman Kundu > > > > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >[[alternative HTML version deleted]]
Or even> install.packages(Hmisc) > library(Hmisc)then use spss.get Actually spss.get uses read.spss from foreign package but with common default options. Caveman On Mon, Oct 19, 2009 at 3:18 PM, Jorge Ivan Velez <jorgeivanvelez at gmail.com> wrote:> Hi Suman, > See the read.spss function in the foreign package, e.g.: > > # install.packages(foreign) > require(foreign) > ?read.spss > > HTH, > Jorge > > > > On Mon, Oct 19, 2009 at 8:06 AM, Suman Kundu <> wrote: > >> Hello, >> >> In R, How to read SPSS file and access the data item? >> >> Thank you. >> Regards, >> Suman Kundu >> >> >> >> >> ? ? ? ?[[alternative HTML version deleted]] >> >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >