"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