[R-SIG-Mac] Rgraphviz installation problem

Simon Urbanek simon.urbanek at r-project.org
Fri Aug 18 17:40:20 CEST 2006


On Aug 18, 2006, at 11:15 AM, Michael Kubovy wrote:

> Thanks Simon,
>
> On Aug 18, 2006, at 10:22 AM, Simon Urbanek wrote:
>
>> Michael,
>>
>> first, you may want to use the Rgraphviz binary from Bioconductor  
>> as it saves you all the hassle (see http://r.research.att.com/ at  
>> the bottom for the corresponding Graphviz build).
>>
>> As of your error, it seems that you have a mismatch of various  
>> graphviz versions on your machine, one of which is not working -  
>> the one in /usr/local. Building graphviz is not quite painless so  
>> I would really suggest using the binary above instead.
>>
>> Cheers,
>> Simon
>
> So I tried to install Rgraphviz 1.10.0 from BioConductor (binaries)  
> using the R Package Installer (authorizing R to run system commands  
> as root

BTW: this is only necessary because you used sudo when compiling your  
version

> ), and this is what I got on the R Console:
>
> trying URL 'http://www.bioconductor.org/packages/1.8/bioc/bin/ 
> macosx/powerpc/contrib/2.3/Rgraphviz_1.10.0.tgz'
> Content type 'application/x-gzip' length 568248 bytes
> opened URL
> ==================================================
> downloaded 554Kb
>
>
> The downloaded packages are in
> 	/tmp/RtmptybY6i/downloaded_packages
>
> Then:
>
> > library(Rgraphviz)
> Loading required package: graph
> Loading required package: Ruuid
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> 	unable to load shared library '/Library/Frameworks/R.framework/ 
> Versions/2.3/Resources/library/Rgraphviz/libs/ppc/Rgraphviz.so':
>   dlopen(/Library/Frameworks/R.framework/Versions/2.3/Resources/ 
> library/Rgraphviz/libs/ppc/Rgraphviz.so, 6): Library not loaded: / 
> usr/local/lib/libpng.3.dylib
>   Referenced from: /usr/local/lib/graphviz/libgvc.2.dylib

^^^ - you didn't install the Graphviz binary that I was pointing you  
to ( http://r.research.att.com at bottom of the page ), you still  
have your old non-working graphviz. Please use the correct binary.

Cheers,
Simon



More information about the R-SIG-Mac mailing list