R/shiny.R

Defines functions get_my_local_ip

Documented in get_my_local_ip

#' Get local IP
#'
#' @export
get_my_local_ip <- function(){
  
  x <- system("ipconfig", intern = TRUE)
  z <- x[grep("IPv4", x)]
  ip <- gsub(".*? ([[:digit:]])", "\\1", z)
  
  ip
  
}
jbkunst/kunstomverse documentation built on May 30, 2022, 12:15 a.m.