Skip to content

Instantly share code, notes, and snippets.

View cristianvaldez's full-sized avatar
🎯
Focusing

Cristian Valdez cristianvaldez

🎯
Focusing
  • Guatemala
View GitHub Profile
@cristianvaldez
cristianvaldez / magickshiny.R
Created November 26, 2018 01:40 — forked from jeroen/magickshiny.R
Magick shiny demo
# Minimal example of Shiny widget using 'magick' images
ui <- fluidPage(
titlePanel("Magick Shiny Demo"),
sidebarLayout(
sidebarPanel(
fileInput("upload", "Upload new image", accept = c('image/png', 'image/jpeg')),
textInput("size", "Size", value = "500x500"),