Re: [R] parallel processing in r...

2018-07-01 Thread Christofer Bogaso
Hi, On ' how to use "top" inside the R prompt? ' you can use system('top') command. Thanks, On Sun, Jul 1, 2018 at 9:53 PM Benoit Vaillant wrote: > Hello, > > On Sun, Jul 01, 2018 at 11:31:29AM +, akshay kulkarni wrote: > > I tried "top" at the bash prompt, but it provides a way to measure

Re: [R] parallel processing in r...

2018-07-01 Thread Benoit Vaillant
Hello, On Sun, Jul 01, 2018 at 11:31:29AM +, akshay kulkarni wrote: > I tried "top" at the bash prompt, but it provides a way to measure > CPU performance of the existing processes. I want to check the CPU > usage of the execution of an R function. Try to open two bash prompts, in one use R a

Re: [R] parallel processing in r...

2018-07-01 Thread akshay kulkarni
your time and effort... Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Saturday, June 30, 2018 11:46 PM To: r-help@r-project.org; akshay kulkarni; R help Mailing list Subject: Re: [R] parallel processing in r... Use "top" at the bash promp

Re: [R] parallel processing in r...

2018-06-30 Thread Patrick Connolly
If you use gkrellm, you'll get a plot of each core's activity so it's easy to see how many are being used. yum install gkrellm. HTH On 07/01/2018 06:16 AM, Jeff Newmiller wrote: > Use "top" at the bash prompt. > > Read about the "mc.cores" parameter to mclapply. > > Make a simplified example v

Re: [R] parallel processing in r...

2018-06-30 Thread Jeff Newmiller
Use "top" at the bash prompt. Read about the "mc.cores" parameter to mclapply. Make a simplified example version of your analysis and post your question in the context of that example [1][2][3]. You will learn about the issues you are dealing with in the process of trimming your problem, and wi

Re: [R] parallel processing in r...

2018-06-30 Thread Bert Gunter
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. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into

Re: [R] Parallel processing in Matlab (irrelevant to R)

2015-04-11 Thread Ranjan Maitra
Sorry, I think you posted to the wrong group. Ranjan On Sat, 11 Apr 2015 19:01:04 +0200 John Wasige wrote: > Dear community, > > Sory for cross posting. Does anybody have an idea on how I can do parallel > in MATLAB? > > thanks for your help > > -- > John Wasige > > [[alternative H

Re: [R] Parallel processing

2015-04-11 Thread Thierry Onkelinx
Wrong mailinglist. This one is about R, not matlab. Op 11-apr.-2015 19:03 schreef "John Wasige" : > Dear community, > > Sory for cross posting. Does anybody have an idea on how I can do parallel > in MATLAB? > > thanks for your help > > -- > John Wasige > > [[alternative HTML version delet

Re: [R] Parallel processing random 'save' error

2013-07-01 Thread William Dunlap
> Error in checkForRemoteErrors(val) : > one node produced an error: (converted from warning) > 'D:\_pgf\quantile_analysis2_f13\_save\dbz084_nump48\bins' already exists That warning looks like it comes from dir.create(). Do you have code that looks like: if (!file.exists(tempDir)) { di

Re: [R] parallel processing with foreach

2012-10-25 Thread Peter Langfelder
It seems you don't quite understand how foreach works. foreach (..) %dopar% { ... } takes the last value from each of the second {...} evaluations and feeds them to the .combine function (in your case rbind()). Since your last call in the %dopar% {...} block is assign(), you are not getting anythin

Re: [R] parallel processing with multiple directories

2012-04-18 Thread David Schaefer
Hi Rainier, Thanks for your suggestions. I should have been more specific, I am using multiple cores on a Mac Pro running Snow Leopard. I can see where that makes a difference. --David On 4/18/12 12:13 AM, "Rainer M Krug" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/04/12 20

Re: [R] parallel processing with multiple directories

2012-04-18 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/04/12 20:06, David Schaefer wrote: > Hello, > > I would like to run some code in parallel with each cluster reading/writing > to a different > working directory. I've tried the following code without success. The error > I get is: "Error > in

Re: [R] parallel processing with multiple directories

2012-04-17 Thread Martin Morgan
On 04/17/2012 11:06 AM, David Schaefer wrote: Hello, I would like to run some code in parallel with each cluster reading/writing to a different working directory. I've tried the following code without success. The error I get is: "Error in setwd(x) : cannot change working directory" library(

Re: [R] parallel processing with multiple directories

2012-04-17 Thread Petr Savicky
On Tue, Apr 17, 2012 at 11:06:05AM -0700, David Schaefer wrote: > Hello, > > I would like to run some code in parallel with each cluster reading/writing > to a different working directory. I've tried the following code without > success. The error I get is: "Error in setwd(x) : cannot change wo

Re: [R] Parallel processing for R loop

2011-10-12 Thread Paul Hiemstra
On 10/11/2011 12:13 PM, Sandeep Patil wrote: > I have an R script that consists of a for loop > that repeats a process for many different files. > > > I want to process this parallely on machine with > multiple cores, is there any package for it ? > > Thanks ...I mostly use the foreach package...

Re: [R] Parallel processing for R loop

2011-10-12 Thread Eik Vettorazzi
Hi Sandeep, still missing an answer? Perhaps you cross check your post with the rules of the posting guide and find what is missing at all here. Anyway, depending on your OS, package multicore, snow/snowfall may fit your needs - but you have to re-formulate your loop using adequate multicore *appl

Re: [R] Parallel processing question ...

2011-02-09 Thread Steve Lianoglou
Hi David, I'm CC-ing R-help inorder to finish this one off ;-) On Wed, Feb 9, 2011 at 10:59 AM, Robinson, David G wrote: [snip] > One of you comments pointed me in the right direction and I found the > problem. I simply commented out the line " if (j%%100==0) { ...print(N)}" > and the original p

Re: [R] Parallel processing question ...

2011-02-09 Thread Robinson, David G
Steve, Thanks for taking the time to look at the question. my apologies for the confusing post. In an attempt to keep the post short, I seem to have confused the issue. The variable of interest in each iteration is the vector lambda and the goal is to collect all the lambda vectors and charact

Re: [R] Parallel processing question ...

2011-02-09 Thread Steve Lianoglou
Hi David, On Wed, Feb 9, 2011 at 10:11 AM, Robinson, David G wrote: > Steve, > Thanks for taking the time to look at the question. my apologies for the > confusing post. In an attempt to keep the post short, I seem to have > confused the issue. > > The variable of interest in each iteration is th

Re: [R] Parallel processing question ...

2011-02-08 Thread Steve Lianoglou
Hi, On Tue, Feb 8, 2011 at 6:18 PM, Robinson, David G wrote: > I am experimenting with parallel processing using foreach and seem to be > missing something fundamental. Cool stuff. I've gone through the list and > seen a couple of closely related issues, but nothing I've tried seems to > work. >

Re: [R] Parallel processing

2010-10-10 Thread Tal Galili
Hello Partha, Both questions are answered here: http://www.r-statistics.com/2010/04/parallel-multicore-processing-with-r-on-windows/ I would also recommend you to have a look here: http://www.r-statistics.com/20

Re: [R] Parallel Processing and Linear Regression

2008-07-25 Thread Martin Morgan
Hi Alan -- "Alan Spearot" <[EMAIL PROTECTED]> writes: > Does anybody have any suggestions regarding applying standard regression > packages lm(), hccm(), and others within a parallel environment? Most of > the packages I've found only deal with iterative processes (bootstrap) or > simple linear