| getUsername.System {R.utils} | R Documentation |
Retrieves the name of the user running R.
System$getUsername(...)
First, this function checks the system environment variables USER,
and USERNAME.
Second, it checks Sys.info()["user"] for user name details.
Finally, it tries to query the system command whoami.
Returns a character string.
*getHostname().