R/hostname.R

Defines functions hostname

Documented in hostname

#' Retrieve the hostname of your machine
#'
#' @export
#' @examples
#' hostname()
hostname <- function() {
  system("hostname", intern = TRUE)
}
daskelly/das documentation built on Oct. 21, 2020, 3:06 p.m.