# Install rsconnect
#install.packages('rsconnect')
# Set the account info from secret variables
#rsconnect::setAccountInfo(name='rs-eco', token='...', secret='...')
# Deploy the app
library(rsconnect)
rsconnect::deployApp(account="rs-eco", server = 'shinyapps.io',
#appDir = 'C:\\Users\\Documents\\R\\SHINY', appFiles=c('app.R','sales.RData','www/custom.css'),
appName="divViz", appTitle="Visualisation tool for biodiversity data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.