New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build R with cairo device on Mac OS #3573
Comments
The reason, to the best of my knowledge, is that on macOS, building R with Cairo requires enabling X11 and XQuartz is not something we've wanted to force people to install (and I do not know what issues it would cause me). Personally, rather than requiring XQuartz, I would rather investigate removing this X11 dependency. @csoja, just making you aware of this. |
If it can help, at least on Linux without X11 installed, this worked for me before:
and then:
If I am reading it correctly, Homebrew can build R on MacOS with Cairo device and without X11
where "Quarz-only Cairo" is built here: (https://github.com/Homebrew/homebrew-core/blob/master/Formula/cairo.rb) Capabilities() from the default R build that I installed from Homebrew:
|
Interesting. Thanks for the pointers! |
I am having this problem on CentOS as well. I upgraded my R version and now
This thread confirms the reason for the above error:
also, this is the
It will be great if a new build can be pushed with the |
I have created the modified Cairo and R recipes, following equivalent On Sat, Oct 29, 2016 at 2:37 AM, Asif Zubair notifications@github.com
|
Great. |
Following the homebrew approach for macOS failed miserably for me. To build a If you are on macOS, you can try a cairo-enabled r-base now if you wish *:
Testing and feedback would be appreciated. Linux to follow but it may not be ready until Monday. While you're at it, testing * I would recommend doing this in a throwaway installation of Miniconda or Anaconda for now and not in something mission critical (so you should create another installation then install `r-essentials from the normal r channel into that first). |
Sorry, I forgot to share my own fix. This is the code that gets me svg() device in R 3.3.1 on Linux (CentOS 6) that does not have X11 libs installed. I never tried on Mac OS. |
This is fixed now, closing. |
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
R is currently not built with cairo support on Mac OS, as can be seen from the source (https://github.com/conda/conda-recipes/blob/a796713805ac8eceed191c0cb475b51f4d00718c/r-base/build.sh).
As a result, it is not possible to use svg() on Mac OS. Is there any specific reason why --with-cairo is not passed to configure script?
Thanks!
The text was updated successfully, but these errors were encountered: