[cairo] use of Cairo package with R

Bryce Harrington bryce at osg.samsung.com
Mon Jul 11 21:24:22 UTC 2016


> > Latest version of Cairo is 1.14.4.  1.5 is pretty old.
> > 

Not sure what I was thinking there.  Latest versions are 1.15.2 and
1.14.6.  Former is a devel snapshot, latter is current stable.

On Mon, Jul 11, 2016 at 12:29:02PM -0700, Joseph Norris wrote:
> Thanks for your help.  Hmm - just going by the tar ball that the
> developer gave me. The only package with 1.14 is 
> 
> cairo-1.14.6.tar.xz   when I use this the R install tells me that it
> cannot find the package. 

I don't know anything about R package management, but that seems like
the right version you should be using.  Maybe your question should be
posed to the R support channels?

Bryce

> #Joseph Norris (Linux/Apache/Mysql/Perl - what else is there?)
> print @c=map chr $_+100,(6,17,15,16,-68,-3,10,11,
> 16,4,1, 14,-68,12,1,14,8, -68,4,-3,-1,7,1,14,-68,
> -26,11,15,1,12, 4,-68,-22,11,14,14,5,15,-90);
> 
> https://www.linkedin.com/in/joseph-norris-54834341 
> 
> On 2016-07-11 11:28, Bryce Harrington wrote:
> 
> > On Mon, Jul 11, 2016 at 09:25:15AM -0700, Joseph Norris wrote: 
> > 
> >> Hello to All, 
> >> 
> >> I am having a real issue and I hope someone out there can direct me.  I
> >> am moving a users R based system to a new Linux installation: 
> >> 
> >> 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64
> >> x86_64 x86_64 GNU/Linux 
> >> 
> >> I have R installed but the user needs Cairo.  I got the latest version
> >> of Cairo package: 
> >> 
> >> Cairo_1.5-9.tar.gz
> > 

> >> Then I do the following for installation under the users directory which
> >> is where she needs it do R library call 
> >> 
> >> R CMD INSTALL -l /home/dsvehla/R Cairo_1.5-9.tar.gz 
> >> 
> >> I get the following every time - even if I use older versions of the
> >> package: 
> >> 
> >> ** R
> >> ** preparing package for lazy loading
> >> ** help
> >> *** installing help indices
> >> ** building package indices ...
> >> ** testing if installed package can be loaded
> >> Error : .onLoad failed in loadNamespace() for 'Cairo', details:
> >> call: dyn.load(file, DLLpath = DLLpath, ...)
> >> error: unable to load shared object
> >> '/home/dsvehla/R/Cairo/libs/Cairo.so':
> >> /home/dsvehla/R/Cairo/libs/Cairo.so: undefined symbol:
> >> cairo_surface_write_to_png
> >> Error: loading failed
> >> Execution halted
> >> ERROR: loading failed
> >> * removing '/home/dsvehla/R/Cairo' 
> >> 
> >> No matter where I look I cannot find an answer to this issue - I have
> >> installed all ( I think ) dependencies for Cairo but still no go. 
> >> 
> >> Thanks  for your help
> > 
> > By chance was cairo compiled without PNG support?
> > 
> > Bryce


More information about the cairo mailing list