Quantcast
Channel: Comments on: Parallelization: Speed up Functions in a Package
Browsing latest articles
Browse All 9 View Live

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 Article



By: 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 Article

By: 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 Article

By: 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 Article

By: 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 Article


By: 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 Article

By: 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 Article

By: tylerrinker

As far as I know this is not possible.

View Article


By: Matt

Thanks for the note on `envir` in `clusterExport()`, and thanks for linking back here from SO.

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images