My code looks like this:
shinyServer(function(input, output) {
DataRead <- reactive(input$PlotType)
CR <- reactive(as.character(input$ContributionRate))
PlotData <- reactive(get(paste(CR(),DataRead(),sep="")))
output$gPlot <- renderGvis({gvisLineChart(PlotData(),
options=...)
})
})
I'm assuming the get()
function isn't passing the data.frame through to PlotData()
, which makes the HTML render blank.
My ui.R
is using htmlOutput()
.
Anyone know what the issue is?