[R-SIG-Mac] installing rgl with the 3.0 RC

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Feb 5 16:46:58 CET 2013

On 05/02/2013 13:25, Duncan Murdoch wrote:
> On 13-02-05 8:07 AM, Bryan Hanson wrote:
>> Thanks for taking the time to look at this carefully Duncan.  I don't
>> see the warning you mention, and I don't see the string R_pretty0 in
>> the log either.  I'm appending right here in case there is something
>> else you want to look at.  I restarted my computer but the result is
>> the same.  I'm on OSX OS X 10.8.2 (12C60). Thanks, Bryan
> Okay, now you're getting a different error than you described before.
> This one I think you can fix:  you need Freetype, and rgl needs to be
> able to find it when you do the install.  Normally it does that using
> the freetype-config utility, but you're not finding that:
> [deletions]
>> checking for freetype-config... no
> I thought (from online readings) that Freetype should be available in a
> standard OSX install, so I'm not sure why it's not working for you.  You
> can disable the Cocoa (native) support by configuring with the configure
> option
> install.packages("rgl", ..., configure.args="--disable-cocoa")
> and then you should be able to get the install to complete, but it might
> be better to figure out why freetype-config isn't working for you.

On Mountain Lion it's part of XQuartz which has a different layout than 
Apple's X11 had.  freetype-config is in /usr/X11/bin, and that is not by 
default on the path.  You need it for the X11 part too.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-SIG-Mac mailing list