On Feb 17, 2012, at 8:51 PM, Benilton Carvalho wrote:

tmp0 <- list(a=1, b=NULL, c=3)


> length(tmp0) <- 4
> tmp0
$a
[1] 1

$b
NULL

$c
[1] 3

[[4]]
NULL

David Winsemius, MD
West Hartford, CT

______________________________________________
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