Learn R Programming

DataMetProcess (version 1.0.8)

DMPshiny: Launch DataMetProcess Shiny Application

Description

The `DMPshiny` function is used to start the Shiny application of the `DataMetProcess` package. It allows configuring the host address, port, whether to launch the browser automatically, and the maximum upload size.

Usage

DMPshiny(
  host = "127.0.0.1",
  port = NULL,
  launch.browser = TRUE,
  maxUploadSize = 200
)

Value

This function does not return a value. It starts the Shiny server and opens the application in the specified browser.

Arguments

host

Character. The host address where the application will run. Default is "127.0.0.1".

port

Integer. The port on which the application will run. If NULL, a random port will be used.

launch.browser

Logical. Indicates whether the browser should be launched automatically. Default is TRUE.

maxUploadSize

Numeric. Maximum upload file size in megabytes. Default is 200.

Details

The function sets Shiny options, such as the maximum upload size, and then runs the Shiny application located in the `DataMetProcess_Shiny/App.R` directory of the package.

Examples

Run this code
if (FALSE) {
  DMPshiny()
}

Run the code above in your browser using DataLab