On 18/10/2015 19:29, Marius Hofert wrote:
Hi,
I get ...
svg(filename=(file <- "foo.svg"))
Warning messages:
1: In svg(filename = (file <- "foo.svg")) :
unable to load shared object
'/usr/local/R/R-3.2.2_build/library/grDevices/libs//cairo.so':
Dear Professor Ripley,
Thanks for helping.
- Yes, cairo.so did not exist
- Okay, following the 'first approach', I have to install XQuartz
before R and set "export
PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig".
Is the latter what you mean by "point to it"?
Hi,
I get ...
> svg(filename=(file <- "foo.svg"))
Warning messages:
1: In svg(filename = (file <- "foo.svg")) :
unable to load shared object
'/usr/local/R/R-3.2.2_build/library/grDevices/libs//cairo.so':
dlopen(/usr/local/R/R-3.2.2_build/library/grDevices/libs//cairo.so,
6): image not found