[R] R gnome and lda: found the difference
Agustin Lobo
alobo at ija.csic.es
Fri Feb 22 15:02:54 CET 2002
On Fri, 22 Feb 2002, Martyn Plummer wrote:
> It's a locale problem. I can reproduce this bug by relaunching my
> GNOME session with the Spanish locale. Numerical values are getting
> mangled because, in Spanish, decimals are represented with "," and
> (I'm guessing after a quick look at gnumeric) scientific notation
> requires a "+" or "-" prefix.
Is there a workarond, like stating a different locale at selecting
gnome as the gui for R? I mean something like R --gui="gnome
--locale=english" . Note that I actually launch R --gui="gnome"
from a kde desktop.
> Please submit a bug report.
Done, The bug is under incoming now.
Also, I've just noticed that this is not particular to lda.default,
as expected according to your message. I was trying the boxplot example by
Jay Pfaffman <pfaffman at relaxpc.com>
from within R --gui="gnome" and...
x1<-rnorm(20)
x2<-rnorm(20)
boxplot(list(x1=x1,x2=x2))
Error in if (any(out[nna])) stats[c(1, 5)] <- range(x[!out], na.rm = TRUE)
:
missing value where logical needed
>Thank you for your patience.
Thank you for your work!
Agus
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list