[Rd] Display problem with named complex vectors

From: Herve Pages <hpages_at_fhcrc.org>
Date: Fri 03 Nov 2006 - 04:10:22 GMT


Hi,

> z <- (-1:3)+2i
> names(z) <- LETTERS[1:5]
> z

    A B C D E
-1+2i 0+2i 1+2i 2+2i 3+2i

Nice :-)

> names(z)[2] <- "long name"
> z

        A long name C D E -1+2i 0+2i 1+2i 2+2i 3+2i

Not nice :-(

This happens with R-2.4.0 and current R-devel. It also happens with raw vectors as reported one month ago.

Cheers,
H.



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Nov 03 18:03:58 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 Fri 03 Nov 2006 - 10:30:38 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.