The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Version: 0.4-2
Date: 2023-12-14
Title: Get or Set UNIX Niceness
Author: Charles J. Geyer <geyer@umn.edu>.
Maintainer: Charles J. Geyer <geyer@umn.edu>
Depends: R (≥ 2.10.0)
Description: Get or set UNIX priority (niceness) of running R process.
License: MIT + file LICENSE
NeedsCompilation: yes
Packaged: 2023-12-14 17:17:28 UTC; geyer
OS_type: unix
Repository: CRAN
Date/Publication: 2023-12-14 23:40:06 UTC

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 nice and renice set, (an integer number, usually in the range -20 to 19, that we want to set the priority to). Generally, ordinary users can only raise the priority, so it is an error to try to set the priority lower than that returned by get.my.priority.

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.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.