Find a TCP port that can be opened
freePort(ports = 1024:65535, default = "random", randomize = TRUE)
(integer vector, or character string)
Zero or more TCP ports in [0, 65535] to scan.
(logical) If TRUE,
Returns an integer representing the first port among
can be opened. If none can be opened, then
default is returned.
If port querying is not supported, as in R (< 4.0.0), then
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.