Skip to content
R for the Rest of Us Logo

Launch and store Shiny apps

This lesson is locked

Get access to all lessons in this course.

If the video is not playing correctly, you can watch it in a new window

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.