"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
     a å ä ö æ ø
[1,] 1 2 3 4 5 6
But this doesn't
> data.frame(XX)
  a å ä X. Xæ X.
1 1 2 3  4  5  6

i.e. it is the data.frame function that manages to mess up the variable names for us 
Windows users

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to