From pdalgd at gmail.com  Wed Apr 24 18:02:46 2013
From: pdalgd at gmail.com (peter dalgaard)
Date: Wed, 24 Apr 2013 18:02:46 +0200
Subject: [Rd] is.vector(as.vector(x, m), m) not always TRUE
In-Reply-To: <6BC93B8B-183D-47BB-9910-C14418B108DE@gmail.com>
References: <51771DDA.3040403@fhcrc.org>
	<6BC93B8B-183D-47BB-9910-C14418B108DE@gmail.com>
Message-ID: <CD57D592-B6D0-42F4-B320-22981B642407@gmail.com>

This is now fixed in R-devel (never actually bit anyone, did it?)

-pd

On Apr 24, 2013, at 08:11 , peter dalgaard wrote:

>>> 
>>> is.vector(as.vector("a", "name"), "name")
>> [1] FALSE
>> 
>> Mmmh, the default method itself doesn't seem to follow its own
>> conventions :-/
>> 
> 
> Looks like there should be a straightforward fix, since
> 
>> is.vector(as.vector("a", "name"), "symbol")
> [1] TRUE
> 
> so it is just a matter of implementing "name" as synomyous with "symbol".

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] is.vector(as.vector(x, m), m) not always TRUE
peter dalgaard