I would like to use the 'nice' command when running CPU-intensive R functions on a server. Will starting R with 'nice R' do the trick? -- Robert Burrows, PhD New England Biometrics rbb at nebiometrics.com
On a Unix like system you can do `nice +19 R' or perhaps `nice +19 R CMD BATCH commands.R'. -roger Robert Burrows wrote:> > I would like to use the 'nice' command when running CPU-intensive R > functions on a server. Will starting R with 'nice R' do the trick? >-- Roger D. Peng http://www.biostat.jhsph.edu/~rpeng/