Robert you are right. I updated the foreign package and I can read
long names now
I have checked the changelog and I found that long names reading were
introduced after 0.8.29 while I were using 0.8.26-1.
So I am really sorry guys for this mess. R can read long names.
Caveman
On Thu, Oct 1
Impressive!
PSPP produces the sav fine. The sav file produced by the PSPP is seen
by SPSS (16) with the long names.
I attach my sav produced by the PSPP. And I start to suspect my
foreign package version:
I am using 0.8.26-1 from the r-cran-foreign a Ubuntu 8.10 package. Can
you tell me your vers
The problem is the limit of 8 characters long on variable
names.[in read.spss??]
I just created a file in SPSS 17 and saved it in standard format (.sav) The
file had four unique variable NAMES which were much longer than 8 characters
(although not 64). I entered two rows of data and saved t
Ok.
I will try that then.
Caveman
On Wed, Oct 14, 2009 at 6:53 PM, joris meys wrote:
> You could read in the sps file in R with readLines() for example, and
> then use the tools for regular expression and substring to find the
> label statements. Then you can just use R to add the labels to it
You could read in the sps file in R with readLines() for example, and
then use the tools for regular expression and substring to find the
label statements. Then you can just use R to add the labels to it,
without having to pass through PSPP.
So you could actually just create an R script that takes
Hi
The .dat file is a tab delimited file with the long variables names on
it. The .sps file has the instructions to read the .dat and place all
the variable and value labels.
The ideia of reading the dat directely is good but I need the labels
placed. Yes I could read the dat file and parese myse
licated too, although I'm not sure on
that.
2) data labels can contain spaces (and often do), so they cannot be
readily used as variable names in R.
Cheers
Joris
> - Original Message - From: "Orvalho Augusto"
> To: "Robert Baer"
> Cc:
> Sent: Tues
uot;Robert Baer"
Cc:
Sent: Tuesday, October 13, 2009 10:39 AM
Subject: Re: [R] SPSS long variable names
No!
That is variable labels.
Caveman
On Tue, Oct 13, 2009 at 4:52 PM, Robert Baer wrote:
I am wondering if there is a patch for the SPSS reading
code on the
foreign package, in
wrote:
library(Hmisc) spss.get may do it but it's been some time since I used it.
--- On Sat, 10/10/09, Orvalho Augusto wrote:
From: Orvalho Augusto
Subject: [R] SPSS long variable names
To: r-help@r-project.org
Received: Saturday, October 10, 2009, 12:14 PM
Hello guys I am new to this li
gt;>>
>>> Caveman
>>>
>>>
>>> On Tue, Oct 13, 2009 at 3:01 PM, John Kane wrote:
>>>> library(Hmisc) spss.get may do it but it's been some time since I used it.
>>>>
>>>> --- On Sat, 10/10/09, Orvalho Augusto w
No!
That is variable labels.
Caveman
On Tue, Oct 13, 2009 at 4:52 PM, Robert Baer wrote:
>>> I am wondering if there is a patch for the SPSS reading
>>> code on the
>>> foreign package, in order to be able to read long variable
>>> names.
>>> Right now read.spss() just trunc the names to 8
>>
- Original Message -
From: "Robert Baer"
To: "Orvalho Augusto"
Sent: Tuesday, October 13, 2009 9:52 AM
Subject: Re: [R] SPSS long variable names
I am wondering if there is a patch for the SPSS reading
code on the
foreign package, in order to be able to read
t;>>
>>> On Tue, Oct 13, 2009 at 3:01 PM, John Kane wrote:
>>>> library(Hmisc) spss.get may do it but it's been some time since I used it.
>>>>
>>>> --- On Sat, 10/10/09, Orvalho Augusto wrote:
>>>>
>>>>> From: Orvalho Aug
>
>> Caveman
>>
>>
>> On Tue, Oct 13, 2009 at 3:01 PM, John Kane wrote:
>>> library(Hmisc) spss.get may do it but it's been some time since I used it.
>>>
>>> --- On Sat, 10/10/09, Orvalho Augusto wrote:
>>>
>>>> From: O
) spss.get may do it but it's been some time since I used it.
>>
>> --- On Sat, 10/10/09, Orvalho Augusto wrote:
>>
>>> From: Orvalho Augusto
>>> Subject: [R] SPSS long variable names
>>> To: r-help@r-project.org
>>> Received: Saturday, Oc
used it.
>
> --- On Sat, 10/10/09, Orvalho Augusto wrote:
>
>> From: Orvalho Augusto
>> Subject: [R] SPSS long variable names
>> To: r-help@r-project.org
>> Received: Saturday, October 10, 2009, 12:14 PM
>> Hello guys I am new to this list and
>> for R
library(Hmisc) spss.get may do it but it's been some time since I used it.
--- On Sat, 10/10/09, Orvalho Augusto wrote:
> From: Orvalho Augusto
> Subject: [R] SPSS long variable names
> To: r-help@r-project.org
> Received: Saturday, October 10, 2009, 12:14 PM
> Hello guys I
Hello guys I am new to this list and for R too.
I am wondering if there is a patch for the SPSS reading code on the
foreign package, in order to be able to read long variable names.
Right now read.spss() just trunc the names to 8 characters.
Or if someone could help me on other way:
I have to pro
18 matches
Mail list logo