is.vector(as.vector(x, m), m) not always TRUE
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