Skip to content
Prev 46778 / 63424 Next

regenerate Rscript after moving R installation

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 the R installation and 
administration manual.

Many thanks in advance for any pointer.

Best wishes,
Tobias

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.