Chirag, Please keep replies on the list by using 'reply-all'. That way, the responses are available to assist future users in the searchable archives and you also enable others to contribute to the thread.
The code below will install R to the default location for a source install, presuming that you have root access and did not get any errors or warnings as a result of that process. That begs the question then, how was the prior version of R installed? It sounds like there is a conflict in that the prior version is in a location that precedes the new version in your $PATH. Commonly, I believe, the executable for R on Linux is installed in /usr/local/bin, but may be elsewhere (eg. /usr/bin), depending upon how it was installed. You can locate which R is being executed on your system by using: which R in a console. That will give you some hints as to location. Within the version of R that is running, you can use: R.home() to find out where the old primary R tree has been installed, including packages. I would use that information to remove the old installation. If you are on RHEL or a compatible server distribution like CentOS (you did not answer that) and have root access, I would recommend using the EPEL: http://fedoraproject.org/wiki/EPEL to configure your system to use the pre-built binary RPMs for R via yum. You can then use: yum install R as root to install R and also handle future updates via yum. You should remove all vestiges of both the old R install and the new source R install before doing that however. Regards, Marc On Jul 12, 2013, at 2:10 PM, Chirag Gupta <cxg...@email.uark.edu> wrote: > I used these commands > > >wget htt://cran.r-project.org/src/base/R-3/R-3.0.1.tar.gz > >tar xzf R-3.0.1.tar.gz > >cd R-3.0.1 > >./configure > >make > >make install > > Thanks! > > > On Fri, Jul 12, 2013 at 12:12 PM, Marc Schwartz <marc_schwa...@me.com> wrote: > On Jul 12, 2013, at 11:58 AM, Chirag Gupta <cxg...@email.uark.edu> wrote: > > > Hi > > > > I am trying to upgrade R version 2.11 to 3.0.1 on Linux server. > > I downloaded the latest version it installed correctly. Now when I run R > > and check the version, it still shows an older version. > > I am new to Linux. If anyone can tell me how to remove/uninstall R > > completely from the server, I can try and re-install the newer version and > > try. > > > > Thanks. > > > What Linux server? RHEL? > > Do you have root access to the server? > > How did you download and install R? Did you download and install a binary RPM > locally, install a binary using a package manager like yum or did you > download the source tarball, compile and install? > > Need more information. > > Regards, > > Marc Schwartz > > > > > -- > Chirag Gupta > Department of Crop, Soil, and Environmental Sciences, > 115 Plant Sciences Building, Fayetteville, Arkansas 72701 [[alternative HTML version deleted]] ______________________________________________ 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.