[R] [R-help] how to install own R withour root?
Patrick Connolly
p_connolly at slingshot.co.nz
Tue Jun 16 12:56:11 CEST 2009
On Tue, 16-Jun-2009 at 05:48PM +0800, Daofeng Li wrote:
|> Hi,
|>
|> actullay i am try to intsall Rpy2 (a python interface for R) later, for RPy2
|> requries R 2.7.0 higher
But as I mentioned earlier, R-2.9.0 is current and R-2.9.1 will be
released next week. It's nearly always best to use a recent version,
since lots of things change, not only your python interface (which
I've never used).
|> but default intsall RPy2 will search the system installed R 2.4.0
|> so i think to replace the system installed R with my R in my home directory
|>
|> echo $PATH
|> /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/bio/pub/bin:/bio/pub/bin/bin:/bio/pub/bin3:/bio/pub/sw/iprscan:/bio/pub/sw/j2re/bin:/bio/pub/sw/wuBlast/rawWuBlast
So it looks as though you don't have a ~/bin/ directory.
Do you know how to use your ~/bash_profile file? Maybe that's the
easiest way for you to go. It's not very good if things change in a
few months, but if you send us a listing of your ~/bash_profile file,
we can show you what to add to make it work now. ~/bash_profile will
be a very short file, so you can paste it into email.
|> add my home/bin/R to the PATH? and where to set the R_lib? i guess RPy2
|> detects the R library files?
I don't know what RPy2 needs, but if you tell us what's in
~/.Renviron, we can show you what needs to be added. It's possible
nothing will be necessary there.
HTH
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
___ Patrick Connolly
{~._.~} Great minds discuss ideas
_( Y )_ Average minds discuss events
(:_~*~_:) Small minds discuss people
(_)-(_) ..... Eleanor Roosevelt
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
More information about the R-help
mailing list