[Rd] printing of complex numbers in R-alpha

From: Robin Hankin <r.hankin_at_noc.soton.ac.uk>
Date: Thu 21 Sep 2006 - 07:05:24 GMT

Hello everyone

I am finding complex numbers to be printed oddly in R-alpha.

> 1e100+1e100i

[1] 1e+100+1e+100i
> 1e100 + 1e44i

[1] 1e+100+100000000000000008821361405306422640701865984i

> dput(1e100+1e44i)


[same thing at home on a linux box]

The first line is what I would expect, the second and third lines aren't:
I would prefer "1e100+1e44i". Is this possible for R-2.4.0?

best wishes


> R.version

platform       powerpc-apple-darwin8.7.0
arch           powerpc
os             darwin8.7.0
system         powerpc, darwin8.7.0
status         alpha
major          2
minor          4.0
year           2006
month          09
day            15
svn rev        39323
language       R

version.string R version 2.4.0 alpha (2006-09-15 r39323)
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743

R-devel@r-project.org mailing list
Received on Thu Sep 21 17:07:05 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 21 Sep 2006 - 13:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.