[R-SIG-Mac] Rgraphviz installation problem

Michael Kubovy kubovy at virginia.edu
Fri Aug 18 17:15:55 CEST 2006


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), 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
   Reason: image not found
In addition: Warning messages:
1: number of rows of result
	is not a multiple of vector length (arg 2) in: cbind(1, res0,  
Repository = repos)
2: number of rows of result
	is not a multiple of vector length (arg 2) in: cbind(1, res0,  
Repository = repos)
3: cannot create HTML package index in: make.packages.html()
4: number of rows of result
	is not a multiple of vector length (arg 2) in: cbind(1, res0,  
Repository = repos)
Error: .onLoad failed in 'loadNamespace' for 'Rgraphviz'
Error: package/namespace load failed for 'Rgraphviz'

_____________________________
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