[R-SIG-Mac] [R] [R-pkgs] RGL v0.65

Rob J Goedman goedman at mac.com
Mon Aug 22 22:54:06 CEST 2005


Has anybody been able to install the new version? On OS X 10.4
with vanilla R-2.1.1 I get:

Robs-Laptop:~/Downloads rob$ R CMD install rgl_0.65.tar.gz
* Installing *source* package 'rgl' ...

checking for libpng-config... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -DRGL_USE_CARBON -I/System/Library/Frameworks/AGL.framework/ 
Headers -DHAVE_PNG_H -I/usr/local/include -I/usr/local/include   -fno- 
common  -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
g++-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -DRGL_USE_CARBON -I/System/Library/Frameworks/AGL.framework/ 
Headers -DHAVE_PNG_H -I/usr/local/include -I/usr/local/include   -fno- 
common  -g -O2 -c Background.cpp -o Background.o

... (many more)

g++-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -DRGL_USE_CARBON -I/System/Library/Frameworks/AGL.framework/ 
Headers -DHAVE_PNG_H -I/usr/local/include -I/usr/local/include   -fno- 
common  -g -O2 -c x11lib.cpp -o x11lib.o
g++-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - 
o rgl.so BBoxDeco.o Background.o Color.o Disposable.o FaceSet.o  
Light.o LineSet.o LineStripSet.o Material.o PointSet.o PrimitiveSet.o  
QuadSet.o RenderContext.o Shape.o SphereMesh.o SphereSet.o  
SpriteSet.o String.o Surface.o TextSet.o Texture.o TriangleSet.o  
Viewpoint.o api.o device.o devicemanager.o fps.o geom.o gl2ps.o  
glgui.o gui.o math.o osxgui.o osxlib.o par3d.o pixmap.o render.o  
rglview.o scene.o select.o types.o win32gui.o win32lib.o x11gui.o  
x11lib.o -framework AGL -L/usr/local/lib -Wl,-rpath,/usr/local/lib - 
lpng12 -lz -lm   -framework R
ld: unknown flag: -rpath
make: *** [rgl.so] Error 1
ERROR: compilation failed for package 'rgl'
** Removing '/Library/Frameworks/R.framework/Versions/2.1.1/Resources/ 
** Restoring previous '/Library/Frameworks/R.framework/Versions/2.1.1/ 
Robs-Laptop:~/Downloads rob$

Would love to try if the new version helps out in the 3D issues.


On Aug 21, 2005, at 7:30 AM, Daniel Adler wrote:

> RGL Version 0.65 [r405 / 2005-08-14]
> The RGL package is a visualization device system for R, using
> OpenGL as the rendering backend. An rgl device at its core
> is a real-time 3D engine written in C++. It provides an
> interactive viewpoint navigation facility (mouse + wheel support)
> and an R programming interface.
> This is a Beta release. We target a stable release at the end of
> September 2005.
> * A native Mac OS X / Carbon version is shipped with this release.
>    No need to start an X11 Server.
>    The X11 Port is still available, but configure defaults to use  
> Carbon.
> * The X11 port has been improved. The crash (using rgl.close() or
> rgl.quit()
>    has been fixed.
> * User-selectable mouse handlers featuring trackball navigation and
>    interactive selection.
> * A new interface concept "R3D" is available for preview and  
> discussion
>    using the function name pattern:
>      XXX3d()
>    The functions map to rgl functions internally (with some  
> exceptions).
>    Here's a short list of interesting spots in the interface API:
>    * par3d() can be used to get/set values on the current RGL device.
>    * Primitives functions such as points3d(), lines3d(), surface3d 
> (), ...
>    * First bunch of generic transformation utilities, rendering  
> methods
>      and mesh objects are implemented.
>    The rgl interface using the pattern "rgl.XXX()" is still available.
>    You can decide between more OpenGL/RGL'is low-level functions or
>    more R'ish functions using the R3D interface concept.
> * Rendering of blended surfaces using hierarchical z-sorting.
> * New material property: Texture environment mapping
> http://rgl.neoscientists.org
> _______________________________________________
> R-packages mailing list
> R-packages at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-packages
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting- 
> guide.html

More information about the R-SIG-Mac mailing list