nice {nice} | R Documentation |
Get or Set UNIX Priority
Description
Get or Set UNIX Priority (Niceness) of this R process.
Usage
get.my.priority()
set.my.priority(priority = 15)
Arguments
priority |
The UNIX priority, also called niceness, what the
UNIX commands |
Details
Sets the priority of itself, the unix process that is executing this
R code. The command was written for use with the snow
package (for nicing slaves), using syntax something like
invisible(clusterEvalQ(cl, set.my.priority()))
assuming a cluster cl
has already been set up. It may also
be useful in other situations.
Value
get.my.priority
returns the priority.
set.my.priority
returns no value. It has the side effect
of setting the priority.