Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-20 Thread Dirk Eddelbuettel
Hi Uwe, On 20 October 2012 at 16:57, Uwe Ligges wrote: | Dirk, | | if you are checking "foo", then "foo" is found in the examples (on all | OSs), even if it is NOT installed at all! Well the log you asked me to supply very clearly shows otherwise. All I doing is i) R itself in c:\opt\R-c

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-20 Thread Uwe Ligges
Dirk, if you are checking "foo", then "foo" is found in the examples (on all OSs), even if it is NOT installed at all! Can you make the sources available for me? Uwe On 19.10.2012 23:58, Dirk Eddelbuettel wrote: Hi Uwe, On 19 October 2012 at 19:25, Uwe Ligges wrote: | Dirk, | | if y

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-19 Thread Dirk Eddelbuettel
Hi Uwe, On 19 October 2012 at 19:25, Uwe Ligges wrote: | Dirk, | | if you ask R to | | R CMD check foo_1.2-3.tar.gz | | | and the output is | | "no package called 'foo'" | | then something went wrong with your setup or your package. That is not what I said, or tried to say. My issue is tha

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-19 Thread Uwe Ligges
Dirk, if you ask R to R CMD check foo_1.2-3.tar.gz and the output is "no package called 'foo'" then something went wrong with your setup or your package. Can we have details? Best, Uwe On 19.10.2012 15:21, Dirk Eddelbuettel wrote: On 19 October 2012 at 12:39, Gavin Simpson wrote: | O

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-19 Thread Dirk Eddelbuettel
On 19 October 2012 at 12:39, Gavin Simpson wrote: | On Thu, 2012-10-18 at 10:18 -0500, Dirk Eddelbuettel wrote: | > Kasper, | > | > On 18 October 2012 at 10:41, Kasper Daniel Hansen wrote: | > | I set my user libraries in .Rprofile for this very reason. I agree it | > | is weird that .Renviron i

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-19 Thread Gavin Simpson
On Thu, 2012-10-18 at 10:18 -0500, Dirk Eddelbuettel wrote: > Kasper, > > On 18 October 2012 at 10:41, Kasper Daniel Hansen wrote: > | I set my user libraries in .Rprofile for this very reason. I agree it > | is weird that .Renviron is not always read etc. > > Sorry, no cigar either -- this equi

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-18 Thread Dirk Eddelbuettel
Kasper, On 18 October 2012 at 10:41, Kasper Daniel Hansen wrote: | I set my user libraries in .Rprofile for this very reason. I agree it | is weird that .Renviron is not always read etc. Sorry, no cigar either -- this equivalent to using files in $R_HOME/etc/ and is also ignored by R CMD check,

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-18 Thread Kasper Daniel Hansen
Dirk, I set my user libraries in .Rprofile for this very reason. I agree it is weird that .Renviron is not always read etc. Kasper On Thu, Oct 18, 2012 at 10:12 AM, Dirk Eddelbuettel wrote: > > Keith, > > On 18 October 2012 at 09:14, Keith Jewell wrote: > | No reply in a number of hours, so he

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-18 Thread Dirk Eddelbuettel
Keith, On 18 October 2012 at 09:14, Keith Jewell wrote: | No reply in a number of hours, so here is a suggestion from ignorance :-} | | ?Startup refers to a number of other "site and user files to process for Thanks, and I know, and use those on Linux (and on 'doze when I use it). My question

Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-18 Thread Keith Jewell
No reply in a number of hours, so here is a suggestion from ignorance :-} ?Startup refers to a number of other "site and user files to process for setting environment variables" but not to Rcmd_environ. The contents of $R_HOME/etc/Rcmd_environ seem to reflect (some of) the contents of (some) o

[Rd] Rcmd_environ and R_LIBS_{USER,SITE}

2012-10-17 Thread Dirk Eddelbuettel
Is there a fundamental reason why I cannot set either one of ## add local library path -- doesn't work either R_LIBS_USER="c:/opt/R-library" R_LIBS_SITE="c:/opt/R-library" in $R_HOME/etc/Rcmd_environ even though I can seemingly set other things here? It breaks "R CMD check" for me as I pr