Skip to content
Prev 12247 / 15075 Next

Macports installation problem

I think using MacPorts might actually be the "error" that needs correction. I would suggest an alternate strategy. Go to http://r.research.att.com/libs/ and get the appropriate version of cairo, probably the most recent one. 

http://r.research.att.com/libs/cairo-1.14.2-darwin.13-x86_64.tar.gz

Scroll down to the bottom of that page and an appropriate modification of the two lines for unpacking to the root. 

curl -O http://r.research.att.com/libs/cairo-1.14.2-darwin.13-x86_64.tar.gz
sudo tar fvxz gmp-4.2.4-darwin8-bin4.tar.gz -C /


The Mac version of R does not do well with either MacPorts or homebrew installation of required system packages because those package managers put them in loaction that are not recognized by the static build that is the default.