Description Usage Arguments Value Examples
An example use cause is getting the IP address within a docker container for the user to SSH into in order to run an R script in the background
1 2 3 | get_ip_address(cmd = "ip address",
ip_pattern = "(\\d{1,3}\\.){3}\\d{1,3}", con_pattern = "eth0",
verbose = FALSE)
|
cmd |
system call that gets the IP address. Defaults to 'ip address' |
ip_pattern |
regex pattern that matches an ip address |
con_pattern |
regex pattern for the device. Defaults to 'eth0' |
verbose |
whether or not to print statments during parsing. Defaults to FALSE |
string
1 2 | get_ip_address()
get_ip_address(con_pattern = 'wlp3s0')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.