View source: R/createShinyAppFolder.R
createShinyAppFolder | R Documentation |
This function creates a shiny app folder containing a shiny app object directly readable by a shiny-server.
createShinyAppFolder(linkspotterObject, folderName)
linkspotterObject |
a linkspotter object, resulting from linkspotterComplete() or linkspotterOnFile() functions. |
folderName |
a character string corresponding to the name of the shiny app folder to create. |
data(iris)
lsOutputIris<-linkspotterComplete(iris)
tmpShinyFolder<-tempdir()
createShinyAppFolder(lsOutputIris,
folderName=file.path(tmpShinyFolder,"myIrisLinkspotterShinyApp1")
)
## Not run:
# launch the shiny app
shiny::runApp(tmpShinyFolder)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.