Re: [Rd] unname() returns a named vector when the input vector has length 0

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Thu, 12 Nov 2009 11:26:02 +0100

>>>>> "HP" == Hervé Pagès <hpages_at_fhcrc.org> >>>>> on Wed, 11 Nov 2009 21:20:57 -0800 writes:

    HP> Hi,
>> x <- c(aa=22, bb=555)
>> unname(x[FALSE])
    HP> named numeric(0)

Thank you, Hervé,
I'm about to commit a simple fix for that.

Martin



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 12 Nov 2009 - 10:30:13 GMT

This archive was generated by hypermail 2.2.0 : Thu 12 Nov 2009 - 11:50:23 GMT