Skip to content

Instantly share code, notes, and snippets.

@slopp
Created February 20, 2017 17:16
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slopp/27903daaf9fbd41afc73442b600a7618 to your computer and use it in GitHub Desktop.
Save slopp/27903daaf9fbd41afc73442b600a7618 to your computer and use it in GitHub Desktop.
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