getUsername.System
From R.utils v1.7.3
by Henrik Bengtsson
Retrieves the name of the user running R
Retrieves the name of the user running R.
Usage
System$getUsername(...)
Details
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
.
Value
- Returns a
character
string.
synopsis
getUsername.System(static, ...)
See Also
*getHostname()
.
Community examples
Looks like there are no examples yet.