RE: [R] R 1.9.0, special characters in variable names.

2004-06-24 Thread Prof Brian Ripley
On Thu, 24 Jun 2004, Ingolfsson, Olafur wrote: > "Sixten Borg" <[EMAIL PROTECTED]> writes: > When I use these as variable names in a data.frame, odd things happen: > > data.frame(a=1, å=2, ä=3, ö=4) > > a å ä X. > > 1 1 2 3 4 > > I your variables only include numbers (or only characters)

Re: [R] R 1.9.0, special characters in variable names.

2004-06-24 Thread Uwe Ligges
Ingolfsson, Olafur wrote: "Sixten Borg" <[EMAIL PROTECTED]> writes: When I use these as variable names in a data.frame, odd things happen: data.frame(a=1, å=2, ä=3, ö=4) a å ä X. 1 1 2 3 4 I your variables only include numbers (or only characters), this works XX <- cbind(a=1, å=2, ä=3, ö

RE: [R] R 1.9.0, special characters in variable names.

2004-06-24 Thread Ingolfsson, Olafur
"Sixten Borg" <[EMAIL PROTECTED]> writes: When I use these as variable names in a data.frame, odd things happen: > data.frame(a=1, å=2, ä=3, ö=4) > a å ä X. > 1 1 2 3 4 I your variables only include numbers (or only characters), this works XX <- cbind(a=1, å=2, ä=3, ö=4, æ=5, ø=6) > XX

Re: [R] R 1.9.0, special characters in variable names.

2004-06-24 Thread Peter Dalgaard
"Sixten Borg" <[EMAIL PROTECTED]> writes: > Hello all, > > I upgraded from R 1.8.1 to 1.9.0 (Windows XP), and spotted an odd thing. > > The last three letters in the Swedish alphabet are å, ä and ö. (In case they don't > show correctly: they are a with a ring, a with two dots, and o with two do

Re: [R] R 1.9.0, special characters in variable names.

2004-06-24 Thread Prof Brian Ripley
This is a function of the OS set by your locale, and there is nothing we can do about it. It is done by the C call isalpha in do_makenames in src/main/character.c. My Windows XP machine in Swedish does accept all three, using the CRAN-compiled version of rw1091.exe, so something is up with yours