| getHostname.System {R.utils} | R Documentation |
Retrieves the computer name of the current host.
System$getHostname(...)
First, this function checks the system environment variables HOST,
HOSTNAME, and COMPUTERNAME.
Second, it checks Sys.info()["nodename"] for host name details.
Finally, it tries to query the system command uname -n.
Returns a character string.
*getUsername().