Refer to masteringshiny.org for good documentation.
- Download R, e.g. R v4.1.2 for Windows, the latest R version (v4.1.3 as of March 2022) might not work with shinyapps.io
- ...
git clone
this repo ... - Go to shinyapps.io, register & check your username, token and password to your apps (should be visible on the first page you land on after signing up)
cd shiny-hello-world/
and open Rinstall.packages("shiny")
rsconnect::setAccountInfo(name='very secret username', token='very secret token', secret='very secret password')
rsconnect::deployApp('./r_app')
- go to
https://<username>.shinyapps.io/r_app/