(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
--- | |
title: "Tutorial" | |
output: learnr::tutorial | |
runtime: shiny_prerendered | |
--- | |
```{r setup, include=FALSE} | |
library(learnr) | |
library(gradethis) | |
learnr::tutorial_options( |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
server <- function(input, output, session) { | |
observeEvent(input$js_value, { | |
# Do stuff | |
}) | |
} |
library(shiny) | |
library(shinyjqui) | |
server <- function(input, output) { | |
output$order <- renderPrint({ print(input$dest_order) }) | |
} | |
ui <- fluidPage( | |
orderInput('source', 'Source', items = month.abb, | |
as_source = TRUE, connect = 'dest'), |