Re: [R] How to speed up my program

2016-04-01 Thread Robert Sherry
Hi Ragia, First, when you wrote mad, I assume you mean made. Also, when you say it is a multi core prog, does that mean it is using threads? running two or more items in parallel? By any chance are you using this package? https://stat.ethz.ch/R-manual/R-devel/library/parallel/doc/parallel.pdf

[R] How to speed up my program

2016-04-01 Thread Ragia .
Dear group I had a R   program that was to slow, I mad it multi core prog..to speed up, its a simulation when the runs are 100 its very fast..raising the runs to 10k mad it in the first fast then it slow down I checked the HW usafe and here is the top command results %Cpu0  :100.0 us,  0.0 sy