error in Install previous versions of R on ubuntu

Viewed 13077

I have R 3.4.1.1 on my computer (Linux).

I want to install R version 2.14.1 since the package Rmosek does not work in newer version.

I have downloaded the R-2.14.2.tar.gz from Cran.

My problem is that I do not understand the INSTALL instructions,

It says to unpack the R sources and go to the top directory and issue the following commands:

./configure

make

I wrote the following in a terminal:

tar -zxvf R-2.14.2.tar.gz

cd Downloads 

cd R-2.14.2

./configure

It is run but finally gives the error:

configure: error: --with-x=yes (default) and X11 headers/libs are not available

make

and it gives the error:

make: *** No targets specified and no makefile found.  Stop.

The file explains that If my make is not called `make', set the environment variable MAKE to its name, and use that name throughout these instructions. I really do not know how I should do it since I am new in Linux.

Is there any other instruction with more explanation? I would be very thankful in advance for your help or guidances.

Regards,

Shima.

3 Answers
Related