Message-ID: <439097951.7056613.1347645788395.JavaMail.root@k-state.edu>
Date: 2012-09-14T18:03:08Z
From: Earl Brown
Subject: parallel version of tapply() or table()?
In-Reply-To: <1417107110.7056001.1347645711933.JavaMail.root@k-state.edu>
Hello R-helpers.
I've tried to recreate a parallel version of tapply() and table() using a combination of the parallel functions mclapply() and pvec() and papply(), but haven't been successful. In the end, I'm trying to get a cross tab of two vectors. I currently (can) use tapply(..., sum) and table(), and even xtabs() and ftable(), but with tens of millions of words and tens of thousands of files to loop over, it take a long time, like days.
Does anyone know of a parallel version of tapply(), table(), xtabs(), or ftable()? Or has anyone created something that approximates a parallel version of one of these functions?
Thank you for your time and help. Earl Brown
-----
Earl K. Brown, PhD
Assistant Professor of Spanish Linguistics
Department of Modern Languages
Kansas State University