Skip to content
R in 3 Months Starts March 13. Learn More →
R for the Rest of Us Logo

Package Development with R

Launch and store Shiny apps

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

  • There is an app in the examples/ folder called plot_app/. It has two Shiny files: ui.R and server.R.

  • Run use_package(“shiny”)

  • Create a folder in inst/ called shinyapps

  • Create an R file with use_r() called “launch_app.”

  • Write a function to launch the app

  • Add a roxygen skeleton and add a title and describe any parameters you used (if you used any)

  • Re-build your package and launch the app with your function

Learn More

You may find Dean Attali's blog post Supplementing your R package with a Shiny app helpful.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.