Although I thought I'm close to be professional in Linux but apparently I'm still a beginner. When I login to a server, I need to use the latest version of R (a statistical software). R is installed in 2 places. When I run the following command
which R
I get
/usr/bin/R
and then
R --version
R version 2.15.2 (2012-10-26) -- "Trick or Treat"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-redhat-linux-gnu (64-bit)
apparently it is an old version and I know the last version of R is installed in
/usr/local/bin/R
I know I should change the path. Am I right? and How?