Error running R in Linux

linux, r

Solution

run the following command as root before configuring R:

yum install gcc

this command will install the latest F77 compiler by GNU, then you should be able to install R as you mentioned in your question.

If you need the old g77 for whatever reason please run this (as root)

yum install compat-gcc*

`g77` compiler has stopped development so it is replaced by `gfortran` in `gcc` > 4.2.

Problem

I followed this R 2.15 install in Redhat step by step to install R in Cent os 6.3, got this error in the intermediate step, i have created the progsandlibs ``` dir in ~ [root@localhost R-2.15.2]# ./configure --prefix=~/progsandlibs/ --enable-R-shlib configure: error: expected an absolute directory name for --prefix: ~/progsandlibs ``` Then i tried just `./configure` ``` configure: error: in `/root/progsandlibs/R-2.15.2': configure: error: no acceptable C compiler found in $PATH ``` I installed gcc compiler through yum later when i run `./configure` i got this error ``` configure: error: No F77 compiler found ``` Any idea what needs to be installed ?

Original source

Related problems