Does anyone know why the following code hangs on the do.call, but works
fine when I either comment out the require(timeSeries) or only do 2
levels of a for loop instead of 3?

 

Thanks,

 

Andrew Bierbryer

 

 

 

require(timeSeries)

 

num <- 1 

 

x.list <- list()

 

for ( i in 1:10 ) {

  for ( j in 1:20 ) {

    for ( k in 1:30 ) {

      x.list[[num]] <- cbind(num,10)

      num <- num + 1

    }

  }

}

 

 

cat('calling do.call\n')

 

x.df <- do.call(rbind,x.list)

  

cat('called do.call\n')

 


        [[alternative HTML version deleted]]

______________________________________________
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