R Shiny at IQSS
  • Introduction
  • Getting started
    • Determining your resource requirements
    • Applying for an account
  • Deploying
    • Setup your environment
    • Deploying an example Shiny app
    • Bootstrapping a new Shiny app or migrating a pre-existing Shiny application
    • Developing locally with RStudio
    • Developing locally using Docker
    • Speeding up deployments with Packrat
  • Configuration
    • Setting up a custom domain for your Shiny app
    • Installing additional system-level packages
    • Limiting the number of R Threads
  • Best Practices
    • File storage
    • Using promises
    • Adding routes
  • Troubleshooting
    • Resolving Application Error screen
    • Viewing app logs
    • Viewing resource consumption
    • Configuring Shiny session auto-reconnect
    • Getting support
Powered by GitBook
On this page

Best Practices

Building websites in R is often counter-intuitive. R is not a natural web programming language like NodeJS. However, recent additions to R can make your Shiny web application more performant under certain conditions.

This section will explore:

  • File storage for static assets.

  • Using dynamic routes.

  • Using asynchronous programming and R "promises" to maximize concurrency in your R web app.

PreviousLimiting the number of R ThreadsNextFile storage

Last updated 5 years ago