getUsername.System

0th

Percentile

Retrieves the name of the user running R

Retrieves the name of the user running R.

Keywords
methods, internal
Usage
System$getUsername(...)
Details

First this function checks the system environment variables USER, and USERNAME. Finally, it tries to query the system command whoami.

Value

synopsis

getUsername.System(static, ...)

See Also

*getHostname().

Aliases
  • getUsername.System
  • System.getUsername
  • getUsername.System
  • getUsername,System-method
Documentation reproduced from package R.utils, version 0.5.5, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.