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. 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 0.5.5, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.