[R] NULL

Peter Alspach Peter.Alspach at plantandfood.co.nz
Mon Jul 26 07:57:36 CEST 2010


Tena koe Yu

?is.null

HTH ...


Peter Alspach

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Yuan Jian
> Sent: Monday, 26 July 2010 5:05 p.m.
> To: r-help at r-project.org
> Subject: [R] NULL
> 
> hi,
> I have a simple problem.
> 
> how can I test whether a variable is NULL?
> 
> a = NULL
> if (a == NULL){
> ...
> }
> it seems not work
> 
> thanks
> 
> YU
> 
> 
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list