Windows上的ggvis :: export_png

时间:2014-11-18 19:21:48

标签: r ggvis

Getting ggvis::export_png() working类似,但我试图在Windows上使用RStudio。

我已经安装了node.js并下载了vega并将./bin添加到我的PATH中,但是我收到了错误

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.

0 个答案:

没有答案