Re: [R] INSTALL.in: Install R to local path?

From: Daniel Oberski <daniel.oberski_at_gmail.com>
Date: Fri, 4 Jan 2008 15:08:52 +0100

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:
> On Wed, 02-Jan-2008 at 10:08PM +0100, Daniel Oberski wrote:
>
> |> Dear all,
> |>
> |>
> |> I am trying to install R on a (Linux Debian) machine where I do not
> |> have root access. So far I succeeded in compiling from source and
> |> running R.
> |>
> |> But I would really like to be able to use "make install" and to be
> |> able to install certain packages such as foreign. Now these actions
> |> require permissions for directories that I do not have.
> |>
> |> In particular I would like R home to be ~/bin/R, the libraries to
> |> reside in ~/lib, and so on.
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 04 Jan 2008 - 14:18:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Jan 2008 - 14:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive