Hi,I've been able to install everything for shiny-server as described in the tutorial, however the examples that require graphical outputs (such as 01_hello and 04_mpg) are not showing the graphs they are supposed to, and instead shows Error Unable to start device PNGI expect that this may be related to a flaw in the way i compiled R 2.15.3? Does anyone have a suggestion?thanks,bobby--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Error in X11(paste("png:::", filename, sep = ""), g$width, g$height, pointsize, :
unable to start device PNG
In addition: warning message:
In png() : no png support in this version of R.
sudo cd /usr/localsudo mkdir Rsudo tar zxvf r-base_2.15.3.orig.tar.gzcd R-2.15.3/sudo apt-get install tk-dev gcc gfortran texlive texlive-fonts-extra libreadline-dev xorg-dev libxml2-dev libcurl4-gnutls-devsudo ./configuresudo makesudo make checksudo make install
--
Hi everybody,
Sorry, I have just realized that I have not tried the png() function from the command line. Currently I have only noted the problem in the browser : Error Unable to start device PNGI'lll try tomorrow the png() function in R.
--
list(bitmapType = if(capabilities("aqua")) "quartz"else if(.Call(C_cairoProps, 2L)) "cairo" else "Xlib")
I do not see cairopango on glimmer:
$ pkg-config --list-all | grep cairo
cairo-xcb cairo-xcb - XCB surface backend for cairo graphics library
cairo-gobject cairo-gobject - gobject functions for cairo
graphics library
cairo-ps cairo-ps - PostScript surface backend for cairo
graphics library
cairo-pdf cairo-pdf - PDF surface backend for cairo graphics library
cairo-xlib cairo-xlib - Xlib surface backend for cairo
graphics library
cairo-xcb-shm cairo-xcb-shm - XCB/SHM functions for cairo
graphics library
cairo-fc cairo-fc - Fontconfig font backend for cairo
graphics library
cairo-xlib-xrender cairo-xlib-xrender - Xlib Xrender surface
backend for cairo graphics library
cairo cairo - Multi-platform 2D graphics library
cairo-png cairo-png - PNG functions for cairo graphics library
cairo-ft cairo-ft - FreeType font backend for cairo
graphics library
cairo-svg cairo-svg - SVG surface backend for cairo graphics library
$ pkg-config --list-all | grep pango
Under Ubuntu, it is easy to install the dependencies required for
building a package from source, e.g. for R, you can
sudo apt-get build-dep r-base-dev
I think what is missing on glimmer is libpango1.0-dev, as you will
find out when running apt-get build-dep.
I'm not sure what is the equivalent command for Red Hat, though.
Building R from source is tricky without something like apt-get
build-dep.