From pgilbert@bank-banque-canada.ca  Sat May 11 02:13:13 2002
From: pgilbert@bank-banque-canada.ca (pgilbert@bank-banque-canada.ca)
Date: Sat, 11 May 2002 03:13:13 +0200 (MET DST)
Subject: [Rd] vector(NA, 3) (PR#1541)
Message-ID: <200205110113.DAA29237@pubhealth.ku.dk>

I don't seem to be able to initialize a vector of NAs. I hope this is a
bug and not a new feature (I realize I have not paid much attention to a
lot of recent discussion about NA):

platform sparc-sun-solaris2.6
arch     sparc               
os       solaris2.6          
system   sparc, solaris2.6   
status                       
major    1                   
minor    5.0                 
year     2002                
month    04                  
day      29                  
language R                   
> 
> vector(NA, 3)
Error in vector(NA, 3) : vector: cannot make a vector of mode "NA".
> matrix(NA,2,2)
     [,1] [,2]
[1,]   NA   NA
[2,]   NA   NA

Paul Gilbert

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


[Rd] vector(NA, 3) (PR#1541)
pgilbert@bank-banque-canada.ca