osUtilities {fame} | R Documentation |
user
returns the user id of the current user.
groups
returns a character vector of the Linux security groups
user.
is a member of.
pid
, pgid
and ppid
return the process, group and
parent process ID numbers, respectively, of the current R process.
killProcess
kills a specified process.
pwd
returns the process working directory.
runningLinux
is shorthand for Sys.info()["sysname"] == "Linux"
.
runningWindows
is shorthand for .Platform$OS.type == "windows"
.
user() groups(user. = user()) pid() pgid() ppid() killProcess(pid) pwd() runningLinux() runningWindows()
user. |
a user id |
pid |
a process id number |
Jeff Hallman