Hi Gabriel,
the dependency for the rgl package comes from my phangorn package. You can
download the development version which does not need rgl installed the
following way:
library(devtools)
install_github("KlausVigo/phangorn")
It seems that apple is trying hard not to be a linux system any more and
breaking perfectly working stuff.
Regards,
Klaus
On Mon, Dec 22, 2014 at 4:33 AM, Gabriel Yedid <[email protected]> wrote:
> Hello list,
>
> Has anyone else experienced the following error when trying to load
> phytools on a Mac, even though it seems to have been successfully
> installed? Note that this problem doesn't seem to be with phytools
> itself, but with rgl:
>
> >library(phytools)
> Loading required package: ape
> Loading required package: maps
> Error : .onLoad failed in loadNamespace() for 'rgl', details:
> call: dyn.load(file, DLLpath = DLLpath, ...)
> error: unable to load shared object
>
> '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/rgl/libs/rgl.so':
>
> dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/rgl/libs/rgl.so,
> 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
> Referenced from:
>
> /Library/Frameworks/R.framework/Versions/3.1/Resources/library/rgl/libs/rgl.so
> Reason: image not found
> Error: package or namespace load failed for 'phytools'
>
>
>
> I haven't experienced this problem using phytools on a PC. Anybody
> know what gives here?
>
> cheers,
>
> Gabe
>
> _______________________________________________
> R-sig-phylo mailing list - [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
> Searchable archive at
> http://www.mail-archive.com/[email protected]/
--
Klaus Schliep
Postdoctoral Fellow
Revell Lab, University of Massachusetts Boston
[[alternative HTML version deleted]]
_______________________________________________
R-sig-phylo mailing list - [email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/[email protected]/