[R] RGL Problem

Duncan Murdoch murdoch.duncan at gmail.com
Tue Nov 24 13:32:24 CET 2015


Some comments on the second part of your message.

On 23/11/2015 7:45 AM, Stefan Evert wrote:
>
>> On 23 Nov 2015, at 11:50, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>>
>>   The OSX binary version of rgl on CRAN is ancient.  You'll need to reinstall it from source for a current one.
>
> Since you bring up this point: any chance of getting Mac binaries from CRAN again?  Rgl is a particularly nice tool because of its portability, and requiring users to install Xcode and Xquartz first makes life a lot harder for non-technical users.
>
> This is compounded by the fact that the automatic configuration is easily broken. I have been unable to install rgl from source for some time on Mavericks, and have now discovered that this was due to a HomeBrew-installed imake in /usr/local.
>
> Perhaps it would make sense always to use the well-known standard XQuartz paths on Mac and only consider other locations if explicitly asked for by the user?

If rgl is using non-standard features in its makefiles, let me know what 
they are.  I use GNU make, so it's easy for GNUisms to slip into it.

We already have special handling for X11 on the Mac.  I don't know why 
yours isn't working, but it's pretty well-known that homebrew breaks the 
usual R build system, so I'd blame it on that.  If you are using 
homebrew, you should be prepared to manually configure rgl.  Or you can 
send me a patch to rgl's configure.ac that works around the differences, 
and I'll try it out.

Duncan Murdoch



More information about the R-help mailing list