Can ggplot2 work with R's canvas backend
Having installed canvas from here http://www.rforge.net/canvas/files/
I try to plot:
> canvas('test.js')
> qplot(rnorm(100), geom='histogram')
stat_bin: binwidth defaulted to r开发者_运维知识库ange/30. Use 'binwidth = x' to adjust this.
Error in grid.Call.graphics("L_setviewport", pvp, TRUE) :
Non-finite location and/or size for viewport
>
You found a bug! Just fixed it. Be sure to download version 0.3-0.
Best,
Jeff
精彩评论