> test <- numeric(0)
> length(test)
[1] 0
> if (length(test) == 0) print("length=0")
[1] "length=0"______________________________________________ [email protected] 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.
