--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/586ec995-2d53-4a35-81c5-5dcf4a634db5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There should be a gvisOutput function, you would use that and not htmlOutput.
On Wed, Jun 22, 2016 at 11:27 AM Vaughn Shirey <vmsh...@gmail.com> wrote:
Hi all,--Today I decided to delve into Shiny to create more interactive Sankey diagrams for a research project that I am working on. I've created my ui.R and server.R files and I am using a raw data file to test the rendering of my Sankey diagram before integrating reactive features. I have the following in server.R:output$view <- renderGvis({gvisSankey(dat, from="source", to="destination", weight="weight")} )And in ui.R:mainPanel(htmlOutput('view'))However, when I load the app there is no diagram, and when I view the source code within my browser I have a div where the Sankey should be, but with no content.Any help would be appreciated, I have seen other posts here about success with gVis and Sankey but no example code.
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-...@googlegroups.com.