getHostname.System

0th

Percentile

Retrieves the computer name of the current host

Retrieves the computer name of the current host.

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

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.

Value

synopsis

getHostname.System(static, ...)

See Also

*getUsername().

Aliases
  • getHostname.System
  • System.getHostname
  • getHostname.System
  • getHostname,System-method
Documentation reproduced from package R.utils, version 1.7.3, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.