shiny-server
pandoc version 1.12.3 or higher is required and was not found (R shiny)
Go into RStudio and find the system environment variable for RSTUDIO_PANDOC Sys.getenv(“RSTUDIO_PANDOC”) Then put that in your R script prior to calling the render command. Sys.setenv(RSTUDIO_PANDOC=”— insert directory here —“) This worked for me after I’d been struggling to find how rmarkdown finds pandoc. I had to check github to look at the source.
Shiny: what is the difference between observeEvent and eventReactive?
It’s like the difference between observe and reactive. One is intended to be run when some reactive variable is “triggered” and is meant to have side effects (observeEvent), and the other returns a reactive value and is meant to be used as a variable (eventReactive). Even in the documentation for those functions, the former is … Read more
Hosting and setting up own shiny apps without shiny server
If your PC and your coworkers PCs belong to the same LAN, this is pretty easy to achieve. Just run your app through: runApp(host = “0.0.0.0”, port = 5050) The value set through the host argument says to accept any connection (not just from localhost). The port argument can assume any value that you want … Read more