View source: R/renderShinyApp.R
renderShinyApp | R Documentation |
Render Shiny Application in a Jupyter Notebook
renderShinyApp( ui = NULL, server = NULL, appFile = NULL, appDir = NULL, port = 3000, stdout = "|", stderr = "|" )
ui |
The UI definition of the app. |
server |
A function with three parameters: |
appFile |
Path to a .R file containing a Shiny application |
appDir |
The application to run. Should be one of the following:
|
port |
The TCP port that the application should listen on (defaults to 3000). |
stdout |
The name of the file the standard output of
the child R process will be written to.
If the child process runs with the |
stderr |
The name of the file the standard error of
the child R process will be written to.
In particular |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.