[Rd] How to let 'R CMD check' see local libraries

Kasper Daniel Hansen khansen at stat.Berkeley.EDU
Mon Aug 21 01:58:06 CEST 2006


On Aug 20, 2006, at 2:03 PM, Sebastian P. Luque wrote:

> On Sun, 20 Aug 2006 13:31:41 -0700,
> Seth Falcon <sfalcon at fhcrc.org> wrote:
>
> [...]
>
>> #!/bin/bash
>
>> export R_LIBS=/Users/seth/RLIB-2.3 /Users/seth/proj/builds/R-2.3/ 
>> bin/R "$@"
>
>
> Thank you, good idea.  I often forget to use all the shell  
> facilities at
> hand when building/checking packages.

I might add that I was also bewildered some time ago by the fact that  
R_LIBS "works" for R CMD INSTALL, while .Renviron is not being  
parsed. I guess there is some justification for this...

Kasper



More information about the R-devel mailing list