hrbrmstr / taucharts

:bar_chart: An R htmlwidget interface to the TauCharts javascript library
http://rpubs.com/hrbrmstr/taucharts
Other
65 stars 10 forks source link

Rpres issues with taucharts #53

Open hrbrmstr opened 9 years ago

hrbrmstr commented 9 years ago

http://stackoverflow.com/questions/32514371/error-with-rstudios-rpresentation-and-taucharts

The following error is shown in Rpresentation (From RStudio) <!-htmlpreserve-> when rendering a tauchart on one of the presentation slides.

Whereas with ioslides there is no error and the graph is plotted nicely and keeps all its interactivity.

Do I need to add an additional parameter in the chunk options? Or do I need to specifically assign print to the object?

Code:

```{r,warning=FALSE,error=FALSE,message=FALSE,echo=FALSE}
tauchart(df) %>% 
tau_stacked_bar(x="x",y="y",color="color") %>%
tau_legend() %>% tau_tooltip()
hrbrmstr commented 9 years ago

I did find this: https://twitter.com/rstudio/status/594227156319862785 but now wonder if there's any compatibility hack/update for it.