[Rd] install.packages() and configure.args

Herve Pages hpages at fhcrc.org
Fri Oct 19 21:12:07 CEST 2007


Hi,

In the case where install.packages("packageA") also needs to install
required package "packageB", then what is passed thru the 'configure.args'
argument seems to be lost when it's the turn of packageA to be installed
(the last package to get installed).

This is not easy to reproduce but let's say you have the graphviz libraries
installed on your system, but you don't have the graph package installed yet.
Then this

  install.packages("Rgraphviz",
                   rep="http://bioconductor.org/packages/2.1/bioc",
                   configure.args="--with-graphviz=/some/non/standard/place")

will fail because --with-graphviz=/some/non/standard/place doesn't seem to be
passed to Rgraphviz's configure script. But if you already have the graph package,
then it will work.

Cheers,
H.



More information about the R-devel mailing list