[R] parallel processing in r...

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Sat Jun 30 20:14:57 CEST 2018

The effectiveness of parallelizing code, be it with mclapply or otherwise,
depends in large part on the code, which you failed to show.

I cannot answer your other question.


Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Sat, Jun 30, 2018 at 10:07 AM, akshay kulkarni <akshay_e4 using hotmail.com>

> dear members,
>                              I am using mclapply to parallelize my code. I
> am using Red Hat Linux in AWS.
> When I use mclapply, I see no speed increase. I doubt that the Linux OS is
> allowing fewer than the maximum number of cores to mclapply ( by default,
> mclapply takes all the available cores to it).
> How do you check if the number of workers is less than the output given by
> detectCores(), in Linux? Is there any R function for it?
> I do acknowledge that help on an OS is not suitable for this mailing list,
> but even Internet could'nt help me. Therefore this mail......
> very many thanks for your time  and effort...
> yours sincerely,
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

	[[alternative HTML version deleted]]

More information about the R-help mailing list