[R-SIG-Mac] rgl for R-devel

Duncan Murdoch murdoch.duncan at gmail.com
Sat Jul 19 03:07:16 CEST 2014


On 18/07/2014, 4:41 PM, Roger Koenker wrote:
> I'm trying to
> 
> install.packages("rgl", type = "source")
> 
> with
> 
>> sessionInfo()
> R Under development (unstable) (2014-07-09 r66111)
> Platform: x86_64-apple-darwin13.1.0 (64-bit)
> 
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base     
> 
> other attached packages:
> [1] quantreg_5.05 SparseM_1.05 
> 
> loaded via a namespace (and not attached):
> [1] tcltk_3.2.0 tools_3.2.0
> 
> and seeing (eventually):
> 
> clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/GLKit.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng12 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/X11/include/freetype2 -Iext -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include   -Wall -mtune=core2 -g -O2  -fPIC  -Wall -mtune=core2 -g -O2  -c platform.cpp -o platform.o
> platform.cpp:16:10: fatal error: 'GLKMathUtils.h' file not found
> #include <GLKMathUtils.h> 
>          ^
> 1 error generated.
> make: *** [platform.o] Error 1
> ERROR: compilation failed for package ‘rgl’
> 
> I do have a GLKit.framework  but there is no Headers subdir ...  
> 

What OSX version is that?  There were warnings about deprecated code in
rgl, so I switched to using GLKMathUtils, but apparently the configure
script isn't quite right.

Duncan Murdoch



More information about the R-SIG-Mac mailing list