From bates@stat.wisc.edu  Sat Mar 21 00:36:21 1998
From: bates@stat.wisc.edu (Douglas Bates)
Date: 20 Mar 1998 18:36:21 -0600
Subject: documentation for "vector"
In-Reply-To: Douglas Bates's message of "Fri, 20 Mar 1998 18:32:49 -0600 (CST)"
References: <m0yGCDR-0000X5C@verdi.stat.wisc.edu>
Message-ID: <6remzwhoca.fsf@verdi.stat.wisc.edu>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


documentation for "vector"
Douglas Bates