From hothorn@ci.tuwien.ac.at  Tue Mar 21 14:11:06 2000
From: hothorn@ci.tuwien.ac.at (Torsten Hothorn)
Date: Tue, 21 Mar 2000 15:11:06 +0100 (CET)
Subject: [Rd] is.null(list()) is FALSE ?
In-Reply-To: <200003211357.OAA29225@pubhealth.ku.dk>
Message-ID: <Pine.LNX.4.21.0003211507220.16848-100000@boromir.ci.tuwien.ac.at>


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


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