Dear list members, i am currently want to install Rpy2 in a linux box which has R 2.4.0 installed RPy requries R 2.7.0 or above but i have no root previlleges so my question is how to install R 2.7.0 on my own directory? and replace the system installed R 2.4.0 when i input R command from the bash Shell? thanks for any reply. Best Regards! -- Daofeng Li,PhD Candidate China Agricultural University [[alternative HTML version deleted]]
On Tue, 09-Jun-2009 at 11:50AM +0800, Daofeng Li wrote: |> Dear list members, |> |> i am currently want to install Rpy2 in a linux box which has R 2.4.0 |> installed |> RPy requries R 2.7.0 or above |> but i have no root previlleges |> so my question is how to install R 2.7.0 on my own directory? You might as well install R-2.9.0 while you're at it. |> and replace the system installed R 2.4.0 when i input R command from the |> bash Shell? You can download the R-2.9.0.tar.gz to a directory you have access to. I'll call it ~/Rhome/ uncompress the file with tar xvzf R-2.9.0.tar.gz and then move to the R-2.9.0 subdirectory that will be created. In that directory, you'll find a file called INSTALL which will give you very simple clear directions. Don't try to make a site-wide installation which isn't appropriate in your case. The executable will be at ~/Rhome/R-2.9.0/bin/R Assuming you have a ~/bin directory, I find the simplest thing is to make a link in that directory to the executable. Now the part that might be slightly tricky. If you can't get someone with root access to remove the R-2.4.0 installation, it's simple enough to prevent it clashing with your newer version. Make the name of the link in ~/bin/ something slightly different from R, such as RR or whatever you fancy. You then start R with that name. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
On Monday 08 June 2009 08:50:35 pm Daofeng Li wrote:> Dear list members, > > i am currently want to install Rpy2 in a linux box which has R 2.4.0 > installed > RPy requries R 2.7.0 or above > but i have no root previlleges > so my question is how to install R 2.7.0 on my own directory? > and replace the system installed R 2.4.0 when i input R command from the > bash Shell? > thanks for any reply. > > Best Regards!You might simply ask your administrator to install R and the relevant libraries. Not infrequently admins can get cranky about users with executables in their user space. JWD [[alternative HTML version deleted]]
On Tue, 16-Jun-2009 at 03:48PM -0700, J Dougherty wrote: [...] |> You might simply ask your administrator to install R and the |> relevant libraries. Not infrequently admins can get cranky about |> users with executables in their user space. I suspect that the OP is in a position similar to mine whereby it takes months for that sort of thing to happen. Over the years, they have never had reason to complain about executables in my home directory, cranky though they may be about several other issues. That might be because R is the only such executable. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.