From hadley at rice.edu  Tue Feb  7 19:13:06 2012
From: hadley at rice.edu (Hadley Wickham)
Date: Tue, 7 Feb 2012 12:13:06 -0600
Subject: [Rd] Using custom R_LIBS with R CMD install
Message-ID: <CABdHhvELJ6SDQ0qSfGrxn-Rju1-=8Vr0=1QQ6bvQKxgHQZ_JQw@mail.gmail.com>

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/



[Rd] Using custom R_LIBS with R CMD install
Hadley Wickham