View source: R/utils_url.R View source: R/tar_random_port.R
tar_random_port | R Documentation |
Not a user-side function. Exported for infrastructure purposes only.
Not a user-side function. Exported for infrastructure purposes only.
tar_random_port(lower = 49152L, upper = 65355L)
tar_random_port(lower = 49152L, upper = 65355L)
lower |
Integer of length 1, lowest possible port. |
upper |
Integer of length 1, highest possible port. |
A random port not likely to be used by another process.
A random port not likely to be used by another process.
if (requireNamespace("parallelly", quietly = TRUE)) {
tar_random_port()
}
if (requireNamespace("parallelly", quietly = TRUE)) {
tar_random_port()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.