Re: [R] Speed up an R code

2011-05-27 Thread jim holtman
Take a small subset of your program that would run through the critical sections and use ?Rprof to see where some of the hot spot are. How do you know it is not using the CPU? Are you using perfmon to look what is being used? Are you paging? If you are not paging, and not doing a lot of I/O, th

Re: [R] Speed up an R code

2011-05-27 Thread Jonathan Daily
This is a very open ended question that depends very heavily on what you are trying to do and how you are doing it. Often times, the bottleneck operations that limit speed the most are not necessarily sped up by adding RAM. They also often require special setup to run multiple operations/iterations

[R] Speed up an R code

2011-05-27 Thread Debs Majumdar
Hello,   Are there some basic things one can do to speed up a R code? I am new to R and currently going through the following situation.   I have run a R code on two different machines. I have R 2.12 installed on both.   Desktop 1 is slightly older and has a dual core processor with 4gigs of R