My tips for RShiny applications
- if you - like me - create hacky shiny applications1 use
options(warn=-1)
- create an
app.R
with subscriptsui.R
andserver.R
- in this
app.R
call in your packages:
library(shinyjs)
library(shiny)
library(shinythemes)
library(ggplot2); theme_set(theme_linedraw())
library(tidyr)
- check out a working example2 at https://sap218.shinyapps.io/fashun_app/ or check the code in the repo
- don't hesitate to create an
issue
if you have a question, or email me :-) - most of my tips come from working with clinical data that can't downloaded locally and so needs a lot of server interaction
Footnotes
-
don't worry the code isn't terrible, it works but i use
df$age
inggplot aes()
which shows a lot of warnings ↩ -
or maybe you would like to read the blod i wrote about it ↩