R/get_hostname.R

Defines functions get_hostname

Documented in get_hostname

#' a function to return the computer's host name
#'
#' @return String with hostname of current machine
#' @keywords internal
#'
get_hostname <- function() {
  return(as.character(Sys.info()["nodename"]))
}

Try the plmmr package in your browser

Any scripts or data that you put into this service are public.

plmmr documentation built on April 4, 2025, 12:19 a.m.