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 ...

Get Web Application Development with R Using Shiny - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.