[R] R is not displaying negative numbers ?!?

Susana Barbosa susanabarbosa at novalis.fc.up.pt
Mon Jan 14 22:56:09 CET 2002


Hi,

I was using R on a PC running Linux, and everything was fine, but I started 
to use R on my iMac running Linux PPC (Mandrake PPC 8.0), and I get some 
strange problems with negative numbers that I didn't have before. 
For example:

# a negative number is displayed as 0:
> -1
[1]  0

> 1/100
[1] 0.01

> -1/100
[1]  0.00


It seems to be only a problem of displaying, because:
> -1*-1
[1] 1

but in all my plots and R objects negative numbers are replaced by 0!

Any ideas?


Details:

I have compiled R1.4.0 from the tar.gz source

> version
         _
platform powerpc-unknown-linux-gnu
arch     powerpc
os       linux-gnu
system   powerpc, linux-gnu
status
major    1
minor    4.0
year     2001
month    12
day      19
language R


Thanks

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