mages / googleVis

Interface between R and the Google Chart Tools
https://mages.github.io/googleVis/
361 stars 154 forks source link

using googleVis with FlexDashboard? #48

Open DataStrategist opened 8 years ago

DataStrategist commented 8 years ago

Hi Markus, how can we use GoogleVis with the new package FlexDashboard? FlexDashboard is like the intersection between a basic .Rd and shinyDashboards.

To visualize the plot (let's say I have called the output of a googlevis chart as d), I have tried: d plot(d) renderGvis(d)

also have tried setting op <- options(gvis.plot.tag='chart')

I can get the html to show up in the output, but nothing I try renders the block. Somebody asked in the github of flexdashboard... but I'm not sure it's a problem on their end... http://www.github.com/rstudio/flexdashboard/issues/26

There must be a simple solution,, no? hopefully I'm just messing something up?

mages commented 8 years ago

Sorry, I haven't used flex dashboard yet. Perhaps, stackoverflow can help here?