Hi Fotis,

On Jul 25, 2015, at 11:32 AM, Fotis Georgatos <[email protected]> wrote:

> 
> Hi Pieter,
> 
>>> For libpng-1.6.17 and freetype-2.6 I had to create new easyconfigs and 
>>> patches as these libs contain bugs and some R packages fail to compile with 
>>> the plain vanilla libs.
> 
> Can you show your output, within R, of capabilities(),

R> capabilities()
       jpeg         png        tiff       tcltk         X11        aqua 
       TRUE       FALSE        TRUE        TRUE       FALSE       FALSE 
   http/ftp     sockets      libxml        fifo      cledit       iconv 
       TRUE        TRUE        TRUE        TRUE        TRUE        TRUE 
        NLS     profmem       cairo         ICU long.double     libcurl 
       TRUE       FALSE        TRUE        TRUE        TRUE       FALSE 

> along with the output of lsb_release -a ?

$> lsb_release -a
-bash: lsb_release: command not found

But I guess this is more or less what you were looking for:

$> cat /etc/redhat-release 
Scientific Linux release 6.6 (Carbon)

> A bug on Stefano’s side still persists and we need to understand some 
> cause-effect chains...
> ...namely, the png capability should be expected to be at TRUE value, correct?

It's ... complicated. AFAIK there are many ways to create PNG images with R. In 
order to get png = TRUE from capabilities() you need X11, which is missing on 
many "headless" cluster nodes. In order to create PNG images without a 
dependency on X11 you can use Cairo Graphics. There are (at least?) two R 
packages to create PNGs with Cairo: Cairo and cairoDevice. I'm using Cairo 
which happily creates PNGs with png = FALSE from capabilities().

See also 
http://r.789695.n4.nabble.com/How-to-get-R-to-compile-with-PNG-support-td3457938.html
and https://gist.github.com/wch/2096726

Cheers,

Pi

> tia,
> Fotis
> 
> 
> -- 
> echo "sysadmin know better bash than english" | sed s/min/mins/ \
>  | sed 's/better bash/bash better/' # signal detected in a CERN forum
> 
> 
> 
> 
> 
> 
> 

-------------------------------------------------------------
phone: +31 6 143 66 783
e-mail: [email protected]
skype:  pieter.online
-------------------------------------------------------------

Reply via email to