On Sun, Jul 19, 2009 at 4:02 PM, Michael Kane<kaneplusp...@gmail.com> wrote:

Hi Mike,

> desc = describe(x)
> foreach (i=1:nrow(x), .combine=c, .packages='bigmemory') %dopar%
> {
>   x = attach.big.matrix(desc)
>   f(x[i,])
> }

Thanks! The shared.big.matrix was exactly what I needed. It still
remains for me, though, to check if I run into memory problems anyway.
It doesn't seem as if there's a "don't return anything" option in the
foreach function (also mentioned in my previous post in this thread).

Best,
Michael

-- 
Michael Knudsen
micknud...@gmail.com
http://lifeofknudsen.blogspot.com/

______________________________________________
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