POSIX formats have problems with NA (PR#1732)

Jens Oehlschlägel oehl_list@gmx.de
Wed, 3 Jul 2002 15:41:54 +0200 (MEST)


Brian,

Thanks for answering.

> This feature request is already implemented in R-devel.

good to know that it is done in R-devel
 
> It is not a bug, as why should logical NA be convertible to any other
> format?

Why then do we have as.character(NA)?
Isn't it standard, that a as.something() function can handle NAs? Isn't it
good style to explicitely use as.something(NA) instead of relying on
auto-coercion? Isn't it a language feature that we can assign NA to any element of a
vector, especially if NA is a legal (creatable) element? 

Puzzled


Jens


-- 



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