In an R library, I am using the dot
program (from GraphViz) to produce some graphics (usually in png format). dot
is a usual executable and I execute it through the system
R command. Until now, everything was running fine because the GraphViz installer was adding dot
to the PATH environment variable. I was just asking users to install GraphViz.
Since version 2.31 (see http://www.graphviz.org/Download_windows.php), GraphViz no longer updates the PATH environment variable and, hence, calling dot
fails (this is not a surprise). Because the users of the library are usually not computer experts, I cannot ask them to update the PATH in order to include GraphViz.
The library is distributed on the CRAN. For this reason, I cannot distribute executable (or any compiled code). I mainly need a solution for Windows, since this not seems to affect Linux or Mac.
Any idea, on how I can proceed in order to produce the image file? Or find dot
?