View source: R/launch_polyglotr_app.R
launch_polyglotr_app | R Documentation |
This function launches the Shiny web application for polyglotr, providing a user-friendly interface to access multiple translation services.
launch_polyglotr_app(launch.browser = TRUE, port = NULL, host = "127.0.0.1")
launch.browser |
Logical. Should the app be launched in the default browser? Default is TRUE. |
port |
The port number for the Shiny app. Default is NULL (auto-assign). |
host |
The host IP address. Default is "127.0.0.1". |
Starts the Shiny application. No return value.
## Not run:
# Launch the app in default browser
launch_polyglotr_app()
# Launch on specific port
launch_polyglotr_app(port = 3838)
# Launch without opening browser
launch_polyglotr_app(launch.browser = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.