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
2: In svg(filename = (file <- "foo.svg")) : failed to load cairo DLL

... although I installed XQuartz (and X11() works) after upgrading to
El Capitan. Do I need to configure R with something like
"--with-cairo"?

Cheers,
Marius

PS: sessionInfo() is:

> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin14.5.0 (64-bit)
Running under: OS X 10.11 (El Capitan)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_3.2.2 tools_3.2.2

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to