R

R

888 bookmarks
Newest
'mustashe' | Joshua Cook
'mustashe' | Joshua Cook
A simple system for saving and loading objects in R. Long running computations can be stashed after the first run and then reloaded the next time. Dependencies can be added to ensure that a computation is re-run if any of its dependencies or inputs have changed.
·joshuacook.netlify.app·
'mustashe' | Joshua Cook
Integrating React.js and Shiny
Integrating React.js and Shiny
React.js is a thriving JavaScript library that eases encapsulating and sharing sophisticated component libraries. The React.js ecosystem is filled with components for doing everything from...
·rstudio.com·
Integrating React.js and Shiny
Auto-refresh persistently displayed Shiny app when new version is deployed to RStudioConnect
Auto-refresh persistently displayed Shiny app when new version is deployed to RStudioConnect
Aaaand... because I couldn't help myself. A simple little example using shinyjs that seems to work for my not-very-thorough testing 😄 The two important bits: In the UI: shinyjs::useShinyjs(), In the Server (10 seconds for testing): shinyjs::runjs( "function reload_page() { window.location.reload(); setTimeout(reload_page, 10000); } setTimeout(reload_page, 10000); ") You definitely don't need the shinyjs package to make this work, but it does make things a little easier :s...
·community.rstudio.com·
Auto-refresh persistently displayed Shiny app when new version is deployed to RStudioConnect