On 15/02/16 22:51, Sandeep Mallya wrote:
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.
You apparently do not have the "cairo infrastructure" installed on your
computer. You probably need to do something like:
sudo yum install cairo.x86_64 # Prob'ly not necessary, this package
# should be already there.
sudo yum install cairo-devel.x86_64
You may not need to include the ".x86.64" strings, I'm not sure. Or you
may need *not* to include them!
HTH.
cheers,
Rolf Turner
--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.