run_pioneer {pioneeR} | R Documentation |
Run pioneeR
Description
Run the pioneeR app on your local machine.
Usage
run_pioneer(x = NULL, port = NULL, ...)
Arguments
x |
A data frame that should be loaded with the app. See details. |
port |
Integer. The TCP port that the application should listen on. |
... |
Other arguments to send to |
Details
Note that pioneeR must be loaded into the namespace with library(pioneeR)
before you run the pioneeR app.
You can load a data object in your current environment to the app. You can pass
a data frame or a character string with the object name of the data frame you
want to be loaded when the app launches. Note that you should only use data
frame objects. If you have a tibble (from the tidyverse) or a data table, you
can convert to an ordinary data.frame using as.data.frame()
Value
None
Examples
# Only run this example in interactive R sessions
if (interactive()) {
df = deaR::Electric_plants
# Load app with data.frame and set port to 8080
run_pioneer(x = df, port = 8080)
}
[Package pioneeR version 0.5.0 Index]