[R] possible to impose limit on R's use of resources?

Duncan Murdoch murdoch at stats.uwo.ca
Fri Mar 10 23:49:00 CET 2006


On 3/10/2006 4:42 PM, Vries, Han de wrote:
> When I run some large optimizations in R under Windows it puts a heavy
> load on the CPU, which makes other applications that run at the same
> time very slow. Is it possible to instruct R to be less aggressive in
> its use of computer resources, so I can use my computer for other
> purposes while running R (probably considerably slower) in the
> background?

No, but you should be able to tell Windows to run it at a lower 
priority.  Open the Task Manager, select R among the applications and 
then use the right mouse button to "Go To Process" (or just select it 
among the processes), then use the right mouse button to set priority to 
"below normal" or "low".  I'm not sure what privileges you need to do 
this; it's possible you may need to do it as an admin.

Duncan Murdoch




More information about the R-help mailing list