By: Joint_Posterior
I find parallel R frustrating … It is a lot of work, and while the speed gain is visible, using RCpp and inline would definitely the fastest option.
View ArticleBy: tylerrinker
I haven’t played with RCpp yet, it’s on my to do list but it sounded scary to me. My first experience with `parLapply` was that it wasn’t too much different than `lapply`. In my particular...
View ArticleBy: JNFoo
“Suggestion if you type detectCores() and see 1 you can’t run code in parallel, at least not by running it on different cores of your machine.” Hmmm, this doesn’t work on my windows7 running Revolution...
View ArticleBy: tylerrinker
@JNFoo, Thanks for your feedback. This was a mistake on my part. While the parallel package is part of a base install you have to explicitly load it first with `library(parallel)`. I corrected this in...
View ArticleBy: Mark Huberty
Have you seen any issues with the tagging functions when running on very long string vectors? I was parallelizing the tagging of a 7000-sentence vector in almost exactly the way you describe. But...
View ArticleBy: tylerrinker
Mark did you use garbage collection every so many uses? Not sure why but gc() like every 10 sentences helps this. I think it may have something to do with Java.
View ArticleBy: hulllemann
Hallo, i have a question, i’m interresting in intigrate a progressbar in parLapply, is it possible that you can discribe me how to do that? Thanks for the post.
View ArticleBy: Matt
Thanks for the note on `envir` in `clusterExport()`, and thanks for linking back here from SO.
View Article
More Pages to Explore .....