Skip to content

Instantly share code, notes, and snippets.

@slopp

slopp/r.snippets

Created Feb 20, 2017
Embed
What would you like to do?
snippet gg
ggplot(${1:data}, aes(${2:aes})) +
geom_${3:geom}()
snippet shiny
library(shiny)
ui <- fluidPage(
${1:ui}
)
server <- function(input, output, session){
${2:server}
}
shinyApp(ui = ui, server = server)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment