[R] How to speed up R program
Jim Lemon
drjimlemon at gmail.com
Mon Mar 14 22:45:56 CET 2016
Hi Ragia,
Improving the efficiency of a program usually requires detailed
analysis of what it is doing and how those operations can be performed
more rapidly. That is to say, without knowing what the program is
supposed to accomplish and how it is doing it now, very little help
can be provided. One thing you might look for is "disk-thrashing"
where your storage media (e.g. hard disk) is being accessed
continuously. This usually indicates that the program is swapping out
data to the disk, which is typically slow compared to processing it in
memory.
Jim
On Tue, Mar 15, 2016 at 8:32 AM, Ragia . <ragia11 at hotmail.com> wrote:
>
>
>
>
> Dear group
> I have two R sessions running on Ubuntu 14.0x server , and I found that my program will take too long time to be finished( months...!), I used top command and found that cpu usage is 21.3%.
>
> the server is Enterprise SP-64 - 64G E5-1630v3 SoftRaid 2x2 TB Server . 6 core
>
> how can I speed the program, kindly I need tutorial or book chapter that helps..
> thanks in advance
> Ragia
>
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list