Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.OSF.3.96.1020222145318.10290O-100000@ija.csic.es>
Date: 2002-02-22T14:02:54Z
From: Agustin Lobo
Subject: R gnome and lda: found the difference
In-Reply-To: <XFMail.20020222143018.plummer@iarc.fr>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._