>>>>> "RC" == Rich Calaway <[email protected]>
>>>>> on Tue, 6 Oct 2009 01:00:10 +0200 (CEST) writes:
RC> Full_Name: Rich Calaway
RC> Version: R 2.9.2
RC> OS: Windows Vista
RC> Submission from: (NULL) (65.47.30.18)
RC> Try this:
RC> x <- rnorm(25)
RC> y <- rnorm(25)*1i
RC> z <- x+y
RC> str(z)
RC> str(y)
RC> When I try this, I see the following:
>> str(z)
RC> cplx [1:25] 0.0102+ 0.9463-1 -1.1111+ ...
>> str(y)
RC> cplx [1:25] 0+0.0975i 0-1.5060i 0+0.4071i ...
RC> I see this in 2.9.2 and in the alpha build of 2.10.0:
Thank you, Rich.
That is indeed a bug in prettyNum(*, drop0trailing=TRUE)
which I will fix ASAP.
Martin
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel