ggvis::export_png on Windows

走远了吗. 提交于 2019-12-10 18:49:08

问题


Similar to Getting ggvis::export_png() working but I'm trying to get this working in RStudio on Windows.

I've 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.

来源:https://stackoverflow.com/questions/27002277/ggvisexport-png-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!