[Rd] Using custom R_LIBS with R CMD install

Hadley Wickham hadley at rice.edu
Tue Feb 7 19:13:06 CET 2012


Hi all,

Am I using the correct syntax to set a custom R_LIBS when running R
CMD INSTALL from the command line?

I get:

R_LIBS=/Users/hadley/R-dev R CMD INSTALL aL3xa-rapport-08e68ca/
# Desktop : R_LIBS=/Users/hadley/R-dev R CMD INSTALL aL3xa-rapport-08e68ca/
# * installing to library ‘/Users/hadley/R’
# ERROR: dependency ‘ascii’ is not available for package ‘rapport’

But:

ls /Users/hadley/R-dev/
# HandyStuff animation  biOps      mcmcTools  mvbutils   quantreg   testthat
# SparseM    ascii      ggplot2    mturkr     nstest     scales     whisker

(I'm actually running this from inside R using system2, but I think
this is the essence of my misunderstanding)

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-devel mailing list