Re: [R] cannot set the path to installed R packages when building a package vignette

2011-11-19 Thread Vincent Plagnol
Uwe, thanks it worked just fine. I think I was confused by the fact that .Rprofile sets the library path properly when I use R interactively or it BATCH mode but I need to set my R_LIBS (in .Renviron worked for me) when I use "R CMD build". In any case it fixes my problem so many thanks again, V

Re: [R] cannot set the path to installed R packages when building a package vignette

2011-11-19 Thread Uwe Ligges
On 19.11.2011 00:14, Vincent Plagnol wrote: Dear colleagues, I am having issues trying to build a R package I recently wrote. I am using R 2.14.0 and my package depends on another package called aod. Running: R CMD Sweave vignette.Rnw is perfectly fine and the vignette compiles properly. but

[R] cannot set the path to installed R packages when building a package vignette

2011-11-18 Thread Vincent Plagnol
Dear colleagues, I am having issues trying to build a R package I recently wrote. I am using R 2.14.0 and my package depends on another package called aod. Running: R CMD Sweave vignette.Rnw is perfectly fine and the vignette compiles properly. but when I use R CMD build mypackage to build the ta