Skip to content
Prev 133198 / 398500 Next

INSTALL.in: Install R to local path?

Thank you all very much for your swift and useful replies! I know of
few software packages where the user support is so good..

I now resolved my problems, there turned out to be two distinct ones.
For anybody who might have a similar problem in the future, here are
the solutions that worked for me:

1. I needed to set the --prefix .configure variable; this indeed
performs the substitution in the INSTALL.in script that I meant. Now I
have a clean install in my home directory by setting --prefix=<my home
dir>. The R executable ends up in lib/R/bin and also in bin/.

2. Foreign and other packages were not installing because I had no
execute rights to /tmp. The error I got was "./configure: /bin/sh: bad
interpreter: Permission denied". This was resolved by adding the line

   TMPDIR = '$HOME/tmp'

to the file $R_HOME/etc/Renviron.

Now everything works!

Thanks R-Help,

Daniel
On Jan 3, 2008 8:45 PM, Patrick Connolly <p_connolly at slingshot.co.nz> wrote: