ggvis icon indicating copy to clipboard operation
ggvis copied to clipboard

GGvis doesn't work with knitr's 'spin' function

Open zslastman opened this issue 9 years ago • 1 comments

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–> "

zslastman avatar Oct 10 '15 20:10 zslastman

It needs wrap related js libraries to render the ggvis chart.

lujiacn avatar Oct 14 '15 12:10 lujiacn