Re: [Rd] regenerate Rscript after moving R installation

2013-09-24 Thread Simon Urbanek
Murray, On Sep 24, 2013, at 2:18 AM, Murray Stokely wrote: > Simon, do you have some examples of packages with this attribute? As Brian pointed out, some of them concern linking (I'm typically worried about OS X and Dirk has fixed Rcpp there), but there are also others that store package path

Re: [Rd] regenerate Rscript after moving R installation

2013-09-23 Thread Murray Stokely
Simon, do you have some examples of packages with this attribute? Removing the hard-coding of paths in base R and Rscript is one of the many local patches we've maintained in the R I use at my workplace since at least the R 2.5 days. We do this to enable us to send R and all its dependencies off

Re: [Rd] regenerate Rscript after moving R installation

2013-09-22 Thread Tobias Verbeke
y, September 22, 2013 3:45:41 AM > Subject: Re: [Rd] regenerate Rscript after moving R installation > > I forgot to mention that some packages bake-in paths as well, so even if you > fix both R and Rscript, it will still not work in general. > > On Sep 22, 2013, at 3:42 AM, Simon Ur

Re: [Rd] regenerate Rscript after moving R installation

2013-09-21 Thread Simon Urbanek
I forgot to mention that some packages bake-in paths as well, so even if you fix both R and Rscript, it will still not work in general. On Sep 22, 2013, at 3:42 AM, Simon Urbanek wrote: > On Sep 21, 2013, at 8:43 PM, Tobias Verbeke > wrote: > >> L.S. >> >> In this bug report >> >> https://

Re: [Rd] regenerate Rscript after moving R installation

2013-09-21 Thread Simon Urbanek
On Sep 21, 2013, at 8:43 PM, Tobias Verbeke wrote: > L.S. > > In this bug report > > https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14493#c1 > > it is mentioned that after moving an R installation > one should regenerate the Rscript executable. > > Is there an easy way to do so (after

Re: [Rd] regenerate Rscript after moving R installation

2013-09-21 Thread Tobias Verbeke
Hi Dirk, - Original Message - > From: "Dirk Eddelbuettel" > To: "Tobias Verbeke" > Cc: "Dirk Eddelbuettel" , r-devel@r-project.org > Sent: Saturday, September 21, 2013 11:03:37 PM > Subject: Re: [Rd] regenerate Rscript after moving R inst

Re: [Rd] regenerate Rscript after moving R installation

2013-09-21 Thread Dirk Eddelbuettel
Tobias, On 21 September 2013 at 21:39, Tobias Verbeke wrote: | The package that made me discover this was RcppEigen which has indeed Never heard of it :) | PKG_LIBS=`$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"` $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) | | > where a key part is the `$(R_HOME)/bi

Re: [Rd] regenerate Rscript after moving R installation

2013-09-21 Thread Tobias Verbeke
Hi Dirk, Many thanks for your reaction. - Original Message - > From: "Dirk Eddelbuettel" > To: "Tobias Verbeke" > Cc: r-devel@r-project.org > Sent: Saturday, September 21, 2013 9:00:12 PM > Subject: Re: [Rd] regenerate Rscript after moving R instal

Re: [Rd] regenerate Rscript after moving R installation

2013-09-21 Thread Dirk Eddelbuettel
On 21 September 2013 at 20:43, Tobias Verbeke wrote: | P.S. The background to this question is the usage of Rscript | calls in the Makevars files of some R packages on CRAN, so | the 'broken' Rscript prevents installation of certain R packages. More details, please. AFAICT there is no 'broken'

[Rd] regenerate Rscript after moving R installation

2013-09-21 Thread Tobias Verbeke
L.S. In this bug report https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14493#c1 it is mentioned that after moving an R installation one should regenerate the Rscript executable. Is there an easy way to do so (after an R installation has been moved)? I have not found any information in th