getHostname.System {R.utils}R Documentation

Retrieves the computer name of the current host

Description

Retrieves the computer name of the current host.

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

Returns a character string.

See Also

*getUsername().


[Package R.utils version 0.5.5 Index]