On 10 Oct 2013, at 13:17, ivan <[email protected]> wrote:
> test <- foreach(i = 1:3) %:%
> foreach (j = 1:3) %do% {
> paste(i,j,sep=",")
> }
Not easily reproducible, unless you write
#install.packages("foreach")
require(foreach)
in front of your code.
Here is a starting point:
unlist(test, recursive = FALSE)
… but you would probably need to build a recursive call of the function down to
the last 'list level'. unlist(recursive = TRUE) goes one level too far.
Best,
Philippe Grosjean
______________________________________________
[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.