I'm using the rpivotTable package in Shiny application and I'd like to have only the choice of 'Table' for the users (no charts)
The RenderName argument is only used to choose the default display...
output$pivot <- renderRpivotTable(
rpivotTable(iris,
rendererName = "Table" )
)
Many thanks in advance !
There are multiple issues here.
renderersargument inrpivotTable(). I have the JS code form here.rpivotTable()wraps the argument in a list again (see theMap()call in the original function code) and the forwarding to JS fails.Therefore, I accounted for this issue and extended the function a bit. Play around with aggregators/renderers to see how it behaves differently to the original
rpivotTable()function.