Description Usage Arguments Examples
View source: R/createShinyAppFolder.R
This function creates a shiny app folder containing a shiny app object directly readable by a shiny-server.
1 | 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. |
1 2 3 4 5 6 7 8 9 10 11 | 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.