From maechler at stat.math.ethz.ch  Thu Nov 12 11:26:02 2009
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Thu, 12 Nov 2009 11:26:02 +0100
Subject: [Rd] unname() returns a named vector when the input vector has
	length 0
In-Reply-To: <5527_1258003273_4AFB9B48_5527_3290_1_4AFB9B39.7050804@fhcrc.org>
References: <5527_1258003273_4AFB9B48_5527_3290_1_4AFB9B39.7050804@fhcrc.org>
Message-ID: <19195.58042.484653.915383@lynne.math.ethz.ch>

>>>>> "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



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