getUsername.System: Retrieves the name of the user running R
Description
Retrieves the name of the user running R.Usage
System$getUsername(...)
synopsis
getUsername.System(static, ...)Details
First this function checks the system environment variables USER
,
and USERNAME
.
Finally, it tries to query the system command whoami
.