Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error running R in Linux

Tags:

linux

r

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 ?

like image 492
timma Avatar asked Jul 18 '13 10:07

timma


People also ask

How do I stop R from running on Linux?

Try Ctrl + C first, because if it works you will still have your R session. If it doesn't work, and you do Ctrl + \ you will lose your R session, but at least it stops the process.

What is R in Linux command?

Option 'r' with the copy command can be used to copy a directory including all its content from a source directory to the destination directory.

Can you run R in terminal?

If R has been installed properly, simply entering R on the command line of a terminal should start the program. In Windows, the program is typically specified as the action performed when clicking on an icon.


1 Answers

Try installing the gfortran.

For example: apt-get install gfortran

like image 139
Júlio Pires Avatar answered Oct 05 '22 11:10

Júlio Pires