ggvis
ggvis copied to clipboard
GGvis doesn't work with knitr's 'spin' function
Sorry if this is an issue for the knitr guys rather than you...
This works fine and results in a plot on the html report outputted by running spin() on the document.
mtcars%>%qplot(data=.,x=wt,y=mpg)
This:
mtcars%>%ggvis(x=~wt,y=~mpg)
Does not work, and instead, on the report, I get "
<!–html_preserve–>
Renderer: SVG | Canvas Download <!–/html_preserve–> "
It needs wrap related js libraries to render the ggvis chart.