Re: [R] Now another question regarding the Foreign package

From: Philip He <hydinghua_at_gmail.com>
Date: Fri 12 May 2006 - 06:00:24 EST

Use library(foreign), not capital letter F.

You may try spss.get function in Hmisc package.

Philip He
Vanderbilt University

On 5/11/06, David Kaplan <dkaplan@udel.edu> wrote:
>
> Hi,
>
> Because I'm new to R and trying to move off of SPSS, I have another
> question. I downloaded the "Foreign" package which I understand reads in
> various datasets from programs such as SPSS and SAS. There isn't much
> documentation that I can find regarding the specifics of this in the online
> docs, but I assume that it is like read.table. So, here is what I wrote
> and here is what I got.
>
> bw2 <- read.spss("c:\birthwt.sav")
> Error: couldn't find function "read.spss"
>
> Any thoughts?
>
> Thanks again for your help.
>
> David
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri May 12 06:07:38 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 12 May 2006 - 08:10:10 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.