[Rd] is.null(list()) is FALSE ?

Torsten Hothorn hothorn@ci.tuwien.ac.at
Tue, 21 Mar 2000 15:11:06 +0100 (CET)


On R-1.0.0, debian GNU/Linux, 

R> is.null(list())
FALSE

conflicts with the help for ?is.null:

Examples:

     is.null(list())    # TRUE (not so in S)
     is.null(integer(0))# F
     is.null(logical(0))# F
     as.null(list(a=1,b='c'))

and, I would like is.null(list()) to be TRUE :-)

Torsten

*****************************************************************
*								*
* Torsten Hothorn, Statistician					*
* at the moment: Institut fuer Statistik, TU Wien		*
* Tel: 0043 1 58801 10772					*
* Fax: 0043 1 58801 10798					*
*								*
*****************************************************************



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