documentation for "vector"
Douglas Bates
bates@stat.wisc.edu
20 Mar 1998 18:36:21 -0600
Douglas Bates <bates@stat.wisc.edu> writes:
> The documentation for "vector" indicates that "length" will default to 0.
>
> Vector Types
>
> vector(type="logical", length=0)
> as.vector(x,mode="any")
> is.vector(x)
>
> The function itself disagrees.
> R> vector("list")
> Error: 1 argument passed to "vector" which requires 2.
I apologize for not indicating this in my earlier message. This
behaviour is with
R : Copyright 1998, Robert Gentleman and Ross Ihaka
Version 0.61.2 Alpha (March 15, 1998)
on a Debian GNU/Linux system running libc6.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._