[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
 
 

rmarkdown-app

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

version status

Using Rmarkdown in Shiny

This shiny app was created in response to this post. In this example, the app allows users to make a selection, render a report (Rmarkdown file) based on the selection, and then display the rendered document in shiny. The Tutorial is now available on my shiny tutorials site: Building your UI with Rmarkdown Reports

Getting Started

You can run this app locally using the following methods: running within your R environment or cloning this subdirectory.

Running in your R environment

You can run this app within your R environment using the runGithub function. Enter the following command in the console.

shiny::runGitHub(username = "davidruvolo51", repo = "shinyAppTutorials", subdir = "rmarkdown-app")

Cloning the subdirectory

You can clone the data editor subdirectory using git sparse-checkout.

git clone --filter=blob:none --sparse https://github.com/davidruvolo51/shinyAppTutorials
cd shinyAppTutorials
git sparse-checkout init --cone
git sparse-checkout set rmarkdown-app

Then you can run the shiny app in your preferred R environment.