Skip to content

Instantly share code, notes, and snippets.

View mdlama's full-sized avatar
🖨️
PC LOAD LETTER

M. Drew LaMar mdlama

🖨️
PC LOAD LETTER
View GitHub Profile
@mdlama
mdlama / Untitled.Rmd
Created September 6, 2020 21:47
learnr/gradethis shinyapps.io deployment issue
---
title: "Tutorial"
output: learnr::tutorial
runtime: shiny_prerendered
---
```{r setup, include=FALSE}
library(learnr)
library(gradethis)
learnr::tutorial_options(
@mdlama
mdlama / introrx.md
Created August 21, 2018 18:25 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@mdlama
mdlama / myapp.R
Created August 16, 2018 17:19
How to modify JS -> R data using registerInputHandler
server <- function(input, output, session) {
observeEvent(input$js_value, {
# Do stuff
})
}
@mdlama
mdlama / dragNDropNSortable.R
Last active June 4, 2018 21:29
Using shinyjqui to add drag-and-drop + sortable functionality
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'),