Closed jverzani closed 11 years ago
canvas is no longer on CRAN, will have to deprecate gcanvas.
canvas is now pretty much eliminated from the package, but gimage needs some care I think. I am using the following script (slightly adapted from the exampe from gimage):
w <- gwindow("hello") sb <- gstatusbar("Powered by gWidgetsWWW and Rook", cont=w) g <- ggroup(cont=w, horizontal=FALSE)
f <- get_tempfile(ext=".png") png(f) hist(rnorm(100)) dev.off()
i <- gimage(f, container=g)
and loading this with load_app() does not display anything on Windows 7 with firefox, nor on Debian wheezy with iceweasel.
The size of gimage is initially c(0,0). You can reset via size(i) <- c(400, 400), say.
aah, thanks!
On Tue, Nov 05, 2013 at 06:11:30AM -0800, john verzani wrote:
The size of gimage is initially c(0,0). You can reset via size(i) <- c(400, 400), say.
Reply to this email directly or view it on GitHub: https://github.com/jverzani/gWidgetsWWW2/issues/3#issuecomment-27775056
Not working for all browsers/OS. See issue #2