Shinyapps.io without RStudio

It's not necessary to use RStudio to use shinyapps.io, it's just a bit easier. You need to follow these steps:

  1. If you're happier in another IDE, you just need to ensure that you have the latest version of devtools installed:
    install.packages('devtools')  
  1. Install shinyapps:
    install_github('rstudio/shinyapps')  

  1. Load shinyapps:
    library(shinyapps)  
  1. Log into your shinyapps.io account, copy the authorize token command from the tokens menu (token marked with Xs here), and run it in your R session (note that this only has to be done once on each computer):
    shinyapps::setAccountInfo(name='chrisbeeley', 
token='XXXXXXXXXXXXXXXXXXXXXXXX',
secret='XXXXXXXXXXXXXXXXXXXX')
  1. Set your working directory to the folder that holds your application:
    setwd("~/myShinyApp")  
  1. Deploy:
    deployApp() 
More details are available on RStudio's pages at shiny.rstudio.com/articles/shinyapps.html.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset