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 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ______________________________________________ R-help@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.