get_hostname | R Documentation |
Returns the computer name of the current host.
First it tries to get the computer name from the environment variables HOST
, HOSTNAME
or COMPUTERNAME
.
If this fails it tries to get the computer name from the function Sys.info()
.
Finally, if this fails it queries the computer name from the command uname -n
.
Copied from the R.utils
package.
get_hostname()
character(1)
of hostname.
get_hostname()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.