[R] Usage of R CMD INSTALL

David Kane <David Kane a296180 at mica.fmr.com
Wed Jul 25 18:44:30 CEST 2001


The help page for INSTALL says, in part,

     Some package sources contain a `configure' script that can be
     passed arguments or variables via the option `--configure-args'
     and `--configure-vars', respectively, if necessary.  The latter is
     useful in particular if libraries or header files needed for the
     package are in non-system directories.  In this case, one can use
     the configure variables `LIBS' and `CPPFLAGS' to specify these
     locations (and set these via `--configure-vars').  One can also
     bypass the configure mechanism using the option `--no-configure'.

No doubt because of my inexperience, I can't quite figure out how this
works. For example, if I want to set the variable LIBS to '/mylibs', how would
I do this? I have tried various versions of

R CMD INSTALL --configure-vars='LIBS=/mylibs' mypackage
R CMD INSTALL --configure-vars 'LIBS=/mylibs' mypackage
R CMD INSTALL --configure-vars LIBS=/mylibs mypackage

all to no effect. (Although it is quite possible that I am having an effect,
but misunderstanding the package (RODBC) that I am using.)

Any help is much appreciated,

Dave Kane
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list