[R] help with Rtools and Rgraphviz

Duncan Murdoch murdoch at stats.uwo.ca
Wed Apr 29 01:39:59 CEST 2009


On 28/04/2009 3:47 PM, ravi wrote:
> Hi all,
> I want to install the package Rgraphviz on R2.9.0 (after installing Graphviz 2.22). I have not been successful in installing from the binary on a win XP pc. After looking up previous posts on the R and bioconductor lists, I installed the Rtools29. I have checked that the paths are correctly listed on the environmental variables window.
> I would now like to know how I can install with Rtools. Some of the commands that are listed in the R documentation are :
> 
> 1. Run in the DOS cmd window :
> 
> tar Rgraphviz_1.22.0.tar.gz 
> 
> 2.Put the ‘.tar.gz’ files in ‘R_HOME/src/library/Recommended’ 
> 
> run makelink-recommended
> 3. Run in the DOS cmd window
> R CMD INSTALL -l C:\Program\R\R-2.9.0\library\Recommended Rgraphviz_1.22.0.tar.gz
> (is the -1 above one or the alphabet l?)
> 
> I am not sure which of the above commands I should use. I am not familiar with the Unix environment. I would appreciate all help in either directing me to the relevant documentation, or in knowing exactly the list of commands that will do the install.

You should use the binary that's available.  If you follow the 
instructions that are in its README file, it works. (These include 
installing graphviz first:  the R package is just an interface to it.) 
Building it is not easier than getting the prebuilt one to work.

Duncan Murdoch




More information about the R-help mailing list