Re: [R] parallel rbind

2011-08-28 Thread Ben Bolker
Steven Bauer gmail.com> writes: > > As I am sitting here waiting for some R scripts to run...I was > wondering... is there any way to parallelize rbind in R? > > I wait for this call to complete frequently as I deal with large > amounts of data. > > do.call("rbind", LIST) Perfectly reasonab

Re: [R] parallel rbind

2011-08-28 Thread William Dunlap
August 28, 2011 6:57 PM > To: 'Steven Bauer'; r-help@r-project.org > Subject: RE: [R] parallel rbind > > If you know much about what the elements of LIST look like > you can speed things up by not making R figure out what > you already know. E.g., if you know that LIST co

Re: [R] parallel rbind

2011-08-28 Thread William Dunlap
If you know much about what the elements of LIST look like you can speed things up by not making R figure out what you already know. E.g., if you know that LIST consists of p numeric vectors, all of the same length, n, then the following might be faster matrix(unlist(LIST, use.names=FALSE), nro

Re: [R] parallel rbind

2011-08-28 Thread jim holtman
What exactly do you mean by "parallelize"? What is wrong with the approach that you are using now? What is a "large amount of data"? Can you give some specifics on the problem you are trying to solve and why your present approach does not appear to be working? What are your expectations of a pot