displaying a pdf from a local drive in shiny
问题 I'm still new to r and shiny, and i'm stumped with what should otherwise be simple logic. I am trying to display pdf files in imageOutput widgets but with no luck. Could someone steer me in the right direction? sample ui.R shinyUI(pageWithSidebar( mainPanel( selectInput("sel_ed", label = "View outputs for Ecodistrict:", choices = c(244,245,247,249), selected = NULL, multiple = FALSE), imageOutput("imp_pdf",width="500px",height="500px") )) sample server.R shinyServer(function(input, output,