Ggvis :: export_png for Windows

Like and How ggvis :: export_png () works, but I'm trying to get this to work in RStudio on Windows.

I installed node.js and downloaded vega and added. / bin to my PATH, but I get the error

mtcars %>% ggvis(~wt, ~mpg) %>% layer_points() %>% export_png
Writing to file plot.png
Error in vega_file(vis, file = file, type = "png") : 
  Conversion program vg2pngnot found.

      

+3


source to share





All Articles