[R] Return a list

2008-09-26 Thread Stefan Fritsch
ult <- test() a <- result$a b <- result$b c <- result$c d <- result$d ... is there a more elegant way to assign these variables, without writing them all down? thank you very much for your help! Stefan Fritsch __ R-help@r-project.org

[R] Exclusion of elements in a vector

2008-09-25 Thread Stefan Fritsch
ded? with kind regards, Stefan Fritsch __ 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.