To open the applications from inside an R session use,
- shiny::runGitHub('shiny-server', 'mlampros', subdir = 'geocoding_geojson')
- shiny::runGitHub('shiny-server', 'mlampros', subdir = 'geocoding_nominatim')
- shiny::runGitHub('shiny-server', 'mlampros', subdir = 'geocoding_nominatim_reverse')
or download the repository then make one of the applications your working directory and run
library(shiny)
runApp()
or follow the web-links using the shinyapps.io service,
- https://lampros.shinyapps.io/shiny_geocoding/
- https://lampros.shinyapps.io/shiny_geojson/
- https://lampros.shinyapps.io/shiny_reverse_geocoding/
- https://lampros.shinyapps.io/string_matching/ [ string matching based on a fuzzywuzzyR issue ]
IMPORTANT: In order to make reticulate, R and Python work on shinyapps.io see the following Github repository and this related issue
To deploy a shiny application using shinyapps.io first use as working directory the shiny application folder and then run:
library(rsconnect)
deployApp()
To install an older version of the rsconnect package based on a github-commit use:
devtools::install_github("rstudio/rsconnect", ref='737cd484a501da5589fe49ca3ee43a4b225366af')
The shinyapps.io service is limited to 25 active hours per month (for free accounts), thus if the limit is exceeded then the applications won't be available to the end users.
More details / options on how to build / share shiny applications can be found in the following links:
- https://shiny.rstudio.com/tutorial/written-tutorial/lesson7/
- http://deanattali.com/2015/05/09/setup-rstudio-shiny-server-digital-ocean/
- shinyapps.io user guide
- https://shiny.rstudio.com/articles/shinyapps.html
- An issue related with the secret key of the rsconnect::setAccountInfo() function
- An issue related with reticulate-python-environment-shiny application