2008/11/3  <[EMAIL PROTECTED]>:

> So how do I detect the NULL at r[1]?

 How can you detect what is not there?

 Single square brackets on a list give you a list. Double square
brackets give you the elements.

 is.null(r[[1]]) should be TRUE.

Barry

______________________________________________
R-help@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.

Reply via email to