Skip to content
Prev 215732 / 398500 Next

You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package

On 03/31/2010 08:18 AM, Gabor Grothendieck wrote:
I think you mean that you got an error message, not that R became
unusable? More below...
In the past this has come about when accessing incorrect graphviz DLLs.
The gory detail (if I remember correctly) is that a FILE* gets allocated
in Rgraphviz and passed to graphviz, and if there is a compiler mismatch
then there are no guarantees about FILE* representation.

The implication is that your Rgraphviz and graphiz are at least partly
out of sync, but it could also be that I am 'getting lucky'. When you
say (quoting from above)...
the implication is that your PATH was already set to include a
graphviz2.20\\bin directory; I'd encourage you to confirm that.

And recognizing that you might justifiably be willing to put this on the
shelf, you might also use Dependency Walker
(http://www.dependencywalker.com/) to open the Rgraphviz DLL
(R_HOME/libraries/Rgraphviz/libs/Rgraphviz.dll), right click on the
RGRAPHVIZ.DLL showing up in the top left panel, and choose 'Full paths',
and verify that LIBCDT-4.DLL, LIBGRAPH-4.DLL, and LIBGVC-4.DLL all point
to Graphviz2.20\bin.

Martin