Hi,

yes, that's amazing

follows my .bashrc file
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
alias rm='rm -i'
if [ ! -d $HOME/trash ]; then
        mkdir $HOME/trash
fi
del ( ) { mv "$@" $HOME/trash/.; }
PATH=/home/lidaof/R/bin:/home/lidaof/R/lib:$PATH:/bio/pub/bin:/bio/pub/bin/bin:/bio/pub/bin3:/bio/pub/sw/iprscan:/bio/pub/sw/j2re/bin:/bio/pub/sw/wuBlast/rawWuBlast

and i think i need to install a my own python too for Rpy2 to work -_-
thanks all of you for patience:)
ps,i had new installed R 2.9.0 in my home directory

my .bash_profile file:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH
export PATH
unset USERNAME

On Tue, Jun 16, 2009 at 11:08 PM, Michael Dewey <info@aghmed.fsnet.co.uk>wrote:

> At 10:57 16/06/2009, Daofeng Li wrote:
>
>> Hi,
>>
>> i just add /home/lidaof/R/bin and /home/lidaof/R/lib to the end of the
>> PATH
>> variable
>> yet i type R command runs the system installed R 2.4.0...
>>
>>
> [snip]
>
> >>
>> >> On Sat, 13-Jun-2009 at 03:43PM +1000, Bill.Venables@csiro.au wrote:
>> >>
>> >> |> You need to adjust your PATH environment variable so that the
>> >> /path_of_my_home/R/bin comes ahead of the system R/bin directory.  (Or
>> you
>> >> can simply remove the system R/bin and substitute your own R/bin.
>>
>
> Note he said add it _ahead_ of the system R/bin, if you added it at the end
> as you say then try following his advice.
>
>        [[alternative HTML version deleted]]
>>
>
> Michael Dewey
> http://www.aghmed.fsnet.co.uk
>
>


-- 
Daofeng Li,PhD Candidate
China Agricultural University

	[[alternative HTML version deleted]]


