[R-SIG-Finance] parallel processing

Gambulator Gambulator gambulator at gmail.com
Mon Oct 26 23:31:22 CET 2015


thanks. I am running the optimization and yeah it is pretty slow so I
figure that I should put it on more cores. It seems/sounds like it 'd work
fine on Linux but now that you mention Windows, may be I will give it a
shot before firing up AWS and go through the pain to make an image and all
that.

thx

On Mon, Oct 26, 2015 at 11:28 AM, Bos, Roger <roger.bos at rothschild.com>
wrote:

> Not all of the parallel packages with in Windows, but doParallel is one
> that does.  Here is how to start it with 3 cores:
>
> library(doParallel)
> cl <- makeCluster(3)
> registerDoParallel(cl)
>
> It will automatically load the foreach package provided you have it
> installed.  Please see the documentation for foreach for examples.
>
> Thanks,
>
> Roger
>
>
>
> ***************************************************************
> This message and any attachments are for the intended recipient's use only.
> This message may contain confidential, proprietary or legally privileged
> information. No right to confidential or privileged treatment
> of this message is waived or lost by an error in transmission.
> If you have received this message in error, please immediately
> notify the sender by e-mail, delete the message, any attachments and all
> copies from your system and destroy any hard copies.  You must
> not, directly or indirectly, use, disclose, distribute,
> print or copy any part of this message or any attachments if you are not
> the intended recipient.
>
>
> -----Original Message-----
> From: R-SIG-Finance [mailto:r-sig-finance-bounces at r-project.org] On
> Behalf Of Gambulator Gambulator
> Sent: Monday, October 26, 2015 2:21 PM
> To: r-sig-finance at r-project.org
> Subject: [R-SIG-Finance] parallel processing
>
> I did quite a bit of googling. it is not clear to me if it works now on
> Windows or not. it is pretty slow even if I have turned off my
> debug,verbose or print. any idea?
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list