Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-17 Thread Frank E Harrell Jr
John Kane wrote: > --- Charilaos Skiadas <[EMAIL PROTECTED]> wrote: > >> On Apr 16, 2007, at 10:41 AM, John Kane wrote: >>> --- Charilaos Skiadas <[EMAIL PROTECTED]> wrote: It is not an "export" option, it is a "save as" option. I don't have a 14 to check, but on a 15 I just go to F

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-17 Thread John Kane
--- Charilaos Skiadas <[EMAIL PROTECTED]> wrote: > On Apr 16, 2007, at 10:41 AM, John Kane wrote: > > --- Charilaos Skiadas <[EMAIL PROTECTED]> wrote: > >> > >> It is not an "export" option, it is a "save as" > >> option. I don't have > >> a 14 to check, but on a 15 I just go to File -> > Save >

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-16 Thread Charilaos Skiadas
On Apr 16, 2007, at 10:41 AM, John Kane wrote: > --- Charilaos Skiadas <[EMAIL PROTECTED]> wrote: >> >> It is not an "export" option, it is a "save as" >> option. I don't have >> a 14 to check, but on a 15 I just go to File -> Save >> As, and change >> the "Save as type" field to "Comma Delimited >

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-16 Thread John Kane
--- Charilaos Skiadas <[EMAIL PROTECTED]> wrote: > On Apr 14, 2007, at 7:06 AM, John Kane wrote: > > > > > --- Adrian Dusa <[EMAIL PROTECTED]> wrote: > > > >> Charilaos Skiadas hanover.edu> > writes: > >>> [...] > >>> I save as csv format all the time, and it offers > >> me a choice to use > >>

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-14 Thread Charilaos Skiadas
On Apr 14, 2007, at 7:06 AM, John Kane wrote: > > --- Adrian Dusa <[EMAIL PROTECTED]> wrote: > >> Charilaos Skiadas hanover.edu> writes: >>> [...] >>> I save as csv format all the time, and it offers >> me a choice to use >>> the labels instead of the corresponding numbers. >> So you shouldn't >>

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-14 Thread Adrian Dusa
On Saturday 14 April 2007 14:06, John Kane wrote: > [...] > I cannot remember if I have been using 14 or 14, I > think it was 14 and I'm not near the machine to check. > > There does not seem to be a csv export in 14 but it > looks like you can achieve the same thing by using one > of the Excel

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-14 Thread John Kane
--- Adrian Dusa <[EMAIL PROTECTED]> wrote: > Charilaos Skiadas hanover.edu> writes: > > [...] > > I save as csv format all the time, and it offers > me a choice to use > > the labels instead of the corresponding numbers. > So you shouldn't > > have to lose that labelling. > > This is intere

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-13 Thread Adrian Dusa
Charilaos Skiadas hanover.edu> writes: > [...] > I save as csv format all the time, and it offers me a choice to use > the labels instead of the corresponding numbers. So you shouldn't > have to lose that labelling. This is interesting and I tried to do this as well; I don't have access to an

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread Thomas Lumley
On Thu, 5 Apr 2007, John Kane wrote: > Heck. I'd be happy to get an answer to what is > happening here: >> mac <- spss.get("H:/ONTH/Raw.data/Follow.sav") > Warning message: > H:/ONTH/Raw.data/Follow.sav: Unrecognized record type > 7, subtype 16 encountered in system file > It means that your file

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread John Kane
--- Thomas Lumley <[EMAIL PROTECTED]> wrote: > On Thu, 5 Apr 2007, John Kane wrote: > > Heck. I'd be happy to get an answer to what is > > happening here: > >> mac <- spss.get("H:/ONTH/Raw.data/Follow.sav") > > Warning message: > > H:/ONTH/Raw.data/Follow.sav: Unrecognized record > type > > 7, su

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread John Kane
gt;R > does have quite extensive > facilities for dealing with encodings in text files. > > > > > Hope that helps. > > > > > > > > Michael Conklin > > Chief Methodologist - Advanced Analytics > > MarketTools, Inc. > > &g

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread Prof Brian Ripley
nalytics MarketTools, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Kane Sent: Thursday, April 05, 2007 7:45 PM To: RINNER Heinrich; r-help@stat.math.ethz.ch Subject: Re: [R] read.spss (package foreign) and SPSS 15.0 files --- RINNER Heinri

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread Prof Brian Ripley
nalytics MarketTools, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Kane Sent: Thursday, April 05, 2007 7:45 PM To: RINNER Heinrich; r-help@stat.math.ethz.ch Subject: Re: [R] read.spss (package foreign) and SPSS 15.0 files --- RINNER Heinri

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread Thomas Lumley
On Thu, 5 Apr 2007, John Kane wrote: > Heck. I'd be happy to get an answer to what is > happening here: >> mac <- spss.get("H:/ONTH/Raw.data/Follow.sav") > Warning message: > H:/ONTH/Raw.data/Follow.sav: Unrecognized record type > 7, subtype 16 encountered in system file > It means that your file

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread John Kane
--- Thomas Lumley <[EMAIL PROTECTED]> wrote: > On Thu, 5 Apr 2007, John Kane wrote: > > Heck. I'd be happy to get an answer to what is > > happening here: > >> mac <- spss.get("H:/ONTH/Raw.data/Follow.sav") > > Warning message: > > H:/ONTH/Raw.data/Follow.sav: Unrecognized record > type > > 7, su

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-10 Thread John Kane
gt;R > does have quite extensive > facilities for dealing with encodings in text files. > > > > > Hope that helps. > > > > > > > > Michael Conklin > > Chief Methodologist - Advanced Analytics > > MarketTools, Inc. > > &g

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-06 Thread John Kane
--- Frank E Harrell Jr <[EMAIL PROTECTED]> wrote: > Charilaos Skiadas wrote: > > On Apr 6, 2007, at 12:32 PM, John Kane wrote: > > > >> I have simply moved to exporting the SPSS file to > a > >> delimited file and loading it. Unfortunately I'm > >> losing all the labelling which can be > time-co

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-06 Thread Frank E Harrell Jr
Charilaos Skiadas wrote: > On Apr 6, 2007, at 12:32 PM, John Kane wrote: > >> I have simply moved to exporting the SPSS file to a >> delimited file and loading it. Unfortunately I'm >> losing all the labelling which can be time-consuming >> to redo.Some of the data has something like 10 >> cat

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-06 Thread John Kane
Thanks, that's excellent news. This is a relatively new problem for me and we don't have SPSS on the local machines so I have not been experimenting. Given that I used SPSS for about 3 minutes in the last 5-6 months I was too cheap to have us get a licence. And it's not that far to walk to the

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-06 Thread Charilaos Skiadas
On Apr 6, 2007, at 12:32 PM, John Kane wrote: > I have simply moved to exporting the SPSS file to a > delimited file and loading it. Unfortunately I'm > losing all the labelling which can be time-consuming > to redo.Some of the data has something like 10 > categories for a variable. I save as

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-06 Thread Thomas Lumley
On Thu, 5 Apr 2007, John Kane wrote: > Heck. I'd be happy to get an answer to what is > happening here: >> mac <- spss.get("H:/ONTH/Raw.data/Follow.sav") > Warning message: > H:/ONTH/Raw.data/Follow.sav: Unrecognized record type > 7, subtype 16 encountered in system file > It means that your file

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-06 Thread John Kane
--- Thomas Lumley <[EMAIL PROTECTED]> wrote: > On Thu, 5 Apr 2007, John Kane wrote: > > Heck. I'd be happy to get an answer to what is > > happening here: > >> mac <- spss.get("H:/ONTH/Raw.data/Follow.sav") > > Warning message: > > H:/ONTH/Raw.data/Follow.sav: Unrecognized record > type > > 7, su

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-06 Thread John Kane
gt;R > does have quite extensive > facilities for dealing with encodings in text files. > > > > > Hope that helps. > > > > > > > > Michael Conklin > > Chief Methodologist - Advanced Analytics > > MarketTools, Inc. > > &g

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-05 Thread Prof Brian Ripley
nalytics MarketTools, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Kane Sent: Thursday, April 05, 2007 7:45 PM To: RINNER Heinrich; r-help@stat.math.ethz.ch Subject: Re: [R] read.spss (package foreign) and SPSS 15.0 files --- RINNER Heinri

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-05 Thread Michael Conklin
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Kane Sent: Thursday, April 05, 2007 7:45 PM To: RINNER Heinrich; r-help@stat.math.ethz.ch Subject: Re: [R] read.spss (package foreign) and SPSS 15.0 files --- RINNER Heinrich <[EMAIL PROTECTED]> wrote: > Hello, > > do

Re: [R] read.spss (package foreign) and SPSS 15.0 files

2007-04-05 Thread John Kane
--- RINNER Heinrich <[EMAIL PROTECTED]> wrote: > Hello, > > does anyone have experience with reading SPSS > Version 15.0 files into R (version 2.4.1, WinXP)? > > I have long been sucessfully reading SPSS files with > read.spss from the wonderful foreign package, but > somehow after upgrading fr

[R] read.spss (package foreign) and SPSS 15.0 files

2007-04-05 Thread RINNER Heinrich
Hello, does anyone have experience with reading SPSS Version 15.0 files into R (version 2.4.1, WinXP)? I have long been sucessfully reading SPSS files with read.spss from the wonderful foreign package, but somehow after upgrading from SPSS14 to SPSS15 I seem to have problems. Trying a simple