Sorry for the break.
Starting from the 6th step:
6. g77 or f77 compiler (Fortran compiler)
yum install compat-gcc-34-g77.x86_64
7. Install g++
yum install gcc-c++.x86_64
8. Install read line package
yum install readline-devel.x86_64
9.yum install gcc44-gfortran.x86_64
10.yum install gcc-gfortran.x86_64
11.yum install gcc44-c++.x86_64
We need to install X11 package for graphics, so i have installed
following libraries (Even though while building i got error, so i
parked this as of now). I have installed following packages for the
same
12. yum install libX11-devel.x86_64 (Already installed)
13. yum install libXtst-devel.x86_64
14. yum install xorg-x11-xtrans-devel.x86_64
15. yum install libpng-devel.x86_64
Follow the steps to build R
1. wget
http://cran.r-project.org/src/base/R-2/R-2.14.1.tar.gz
2. tar -zxf R-2.14.1.tar.gz
3. cd R-2.14.1
4. ./configure --with-x=no
5. make
6. You can check by
make check
make check-all
7. create a environment variable export R_HOME="path to R"
and add bin to PATH variable
export PATH=$PATH:$R_HOME/bin
Thats it!!!!
I would suggest that keep R.repo, since most of the libraries are in R
base directory.
Now you can open R console by typing R . Hope this would help
somebody.
Regards,
Som Shekhar