[R] Error installing the package "Cairo"

Sandeep Mallya psandeepmallya at gmail.com
Mon Feb 15 10:51:14 CET 2016


Hello all,

I am trying to install the package Cairo on RedHat running R version 3.2.3.
So far I have tried install.packages("Cairo")
R CMD INSTALL Cairo_1.5-9.tar.gz

Both the approaches giving me the same error below.


Error : .onLoad failed in loadNamespace() for 'Cairo', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object
'/home/sandeep/R/x86_64-pc-linux-gnu-library/3.2/Cairo/libs/Cairo.so':
  libpng15.so.15: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted


Can someone please guide me.

Thanks,
Sandeep

	[[alternative HTML version deleted]]



More information about the R-help mailing list