[R] alist()

Glen Herrmannsfeldt gah4 at u.washington.edu
Mon Nov 6 21:36:54 CET 2006


In trying to get NULL members into a list, I found out about alist().

x<-alist()

x$one<-1
x$two<-NULL

but x$two doesn't exist.

It seems, though, that an alist is just a list.

How can one put NULL members into a list?



More information about the R-help mailing list