[R-SIG-Mac] Loading rgl fails on 2.7.0

Michael Kubovy kubovy at virginia.edu
Tue Feb 12 03:09:05 CET 2008


Hi,

Can anyone tell me what I'm doing wrong here:

 > install.packages('rgl')
trying URL 'http://cran.r-project.org/bin/macosx/universal/contrib/2.7/rgl_0.74.tgz'
Content type 'application/x-gzip' length 3194464 bytes (3.0 Mb)
opened URL
==================================================
downloaded 3.0 Mb


The downloaded packages are in
	/var/folders/TG/TG6nWu2pHYCI-BdWWiyMxU+++TI/-Tmp-//RtmpHTwuaH/ 
downloaded_packages

 > require(ca)
Loading required package: ca
Loading required package: rgl
Error in dyn.load(file, DLLpath = DLLpath, ...) :
   unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/rgl/libs/i386/aglrgl.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/rgl/libs/ 
i386/aglrgl.so, 6): Library not loaded: /Library/Frameworks/ 
R.framework/Versions/2.6/Resources/lib/libR.dylib
   Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
rgl/libs/i386/aglrgl.so
   Reason: image not found
Error : .onLoad failed in 'loadNamespace' for 'rgl'
Error: package 'rgl' could not be loaded

R version 2.7.0 Under development (unstable) (2008-02-05 r44340)
i386-apple-darwin8.10.1

locale:
en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/



More information about the R-SIG-Mac mailing list