Skip to content
Prev 3399 / 15075 Next

Mac os x graphviz-Rgraphviz problem

Your example works fine for me on Mac OS X ppc 10.4.8 with R-2.4.1  
and graphviz 2.12 compiled from source.

You can check your graphviz version from R by doing
R> graphvizVersion()

You have an error in the Graphviz version reported below, I assume  
you are talking about Rgraphviz' version. When you run it in the X11  
xterm (which I assume you are talking about), it seems as if some  
PATH/library settings are messed up. I don't know anything about  
Darwinports configuration, so I am afraid I cannot help much.

Getting Rgraphviz to work requires some connection between graphviz  
and Rgraphviz, and it is important for us to know what you installed,  
and especially how. I assume Darwinports compile from source? Since  
you have installed several different flavours of Graphviz, are you  
certain that you have cleaned up after you? Using the Graphviz binary  
provided by Simon Urbanek should work, but I find it  bit puzzling  
which versions (and how you installed them) you are discussing below.

So, try to reinstall Rgraphviz the way you describe below. Note what  
version of Graphviz R is linking to, both by looking at the compile  
statements when installing the package (which is why you need to  
reinstall) as well as trying
R> graphvizVersion()
and then see if something is not matching.

Btw. you are most certainly not running Graphviz 2.8 under MS  
Windows, unless you have taken major pains to do so.

Personally, Graphviz used to be a pain to install on the Mac, but the  
new version (2.12) compiled easily for me.

Kasper
On Feb 1, 2007, at 1:45 PM, Gavai, Anand wrote: