How can I get R to use more CPU usage?
问题 I noticed that R doesn't use all of my CPU, and I want to increase that tremendously (upwards to 100%). I don't want it to just parallelize a few functions; I want R to use more of my CPU resources. I am trying to run a pure IP set packing program using the lp() function. Currently, I run windows and I have 4 cores on my computer. I have tried to experiment with snow, doParallel, and foreach (though I do not know what I am doing with them really). In my code I have this... library(foreach)