[R] getting R 2.9.1 from the tar.gz file

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Aug 20 12:16:50 CEST 2009

Lazarus Mramba wrote:
> Dear Sir,
> I am almost giving up on getting the R-2.9.1 on the ubuntu 9.04 using the instructions found on the R site.
> I decided to use the R-2.9.1.tar.gz and untarred it.
> I then typed ./configure and the results are shown below.
> However, on typing make, I got an error, "No targets specified and no makefile found stop" 
> What is the solution?
> lmramba at LMramba-dll-d:~$ su
> Password: 
> root at LMramba-dll-d:/home/lmramba# ./configure
> bash: ./configure: No such file or directory
> root at LMramba-dll-d:/home/lmramba# cd R/R-2.9.1
> root at LMramba-dll-d:/home/lmramba/R/R-2.9.1# ./configure
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> loading site script './config.site'
> loading build specific script './config.site'
> checking for pwd... /bin/pwd


> checking for ICU... no
> checking for X... no
> configure: error: --with-x=yes (default) and X11 headers/libs are not available

Which tells you that you need the X11 headers and libs installed on your 
system (that are currently missing).

Uwe Ligges

> root at LMramba-dll-d:/home/lmramba/R/R-2.9.1# make
> make: *** No targets specified and no makefile found.  Stop.
> Kind regards,
> Lazarus Mramba
> Junior Statistician
> P.O Box 986, 80108,
> Kilifi, Kenya
> Mobile No. +254721292370
> Tel: +254 41 522063
> Tel: +254 41 522390
> (office extension : 419)
>>>> Jakson Alves de Aquino <jaksonaquino at gmail.com> 08/20/09 4:05 AM >>>
> Lazarus Mramba wrote:
>> I have been running R-2.9.1 on Windows without any problem. I decided to run it on my Ubuntu 9.04 where i have R-2.8.1 and I have a problem loading the package JGR because it cannot load the dependancy rJava. This is a cool editor I would wish to use while on Ubuntu.
>> Here is a copy of the errors i get:
>> library(JGR)
>> Loading required package: rJava
>> Error in dyn.load(file, DLLpath = DLLpath, ...) : 
>>   unable to load shared library '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
>>   libjvm.so: cannot open shared object file: No such file or directory
>> Error : .onLoad failed in 'loadNamespace' for 'rJava'
>> Error: package 'rJava' could not be loaded
>> This means I managed to download the rJava package   '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
>>   libjvm.so       ... but It cannot be loaded. What do I do?
> After solving problem 2, open a terminal and do:
>   sudo aptitude -y install r-base-core r-base-dev sun-java6-jdk
>   sudo R CMD javareconf
>   sudo R
> Then, in R, type:
> install.packages(c('JGR', 'iplots', 'rJava', JavaGD'),
> repos='http://www.vps.fmvz.usp.br/CRAN')
> library(JGR)
> JGR()
> quit(save = 'no')
>> Problem 2: I have tried in vain to get the newer R version of 2.9.1.   I keep on getting the 2.8.1.  I have read the instructions from the R site but I seem not to be there. What do I do?
> To install R 2.9.1 in Ubuntu go to http://www.r-project.org/
> on the left panel, click on CRAN
> Choose a mirror
> Click on:
>   Linux
>   linux
>   ubuntu
> Follow the instructions. You must be able to follow the instructions
> because you'll have to disable the repository before upgrading Ubuntu
> and, then, will have to update the R's repository.
> This e-mail (including any attachment to it) contains information
> which is confidential. It is intended only for the use of the named
> recipient. If you have received this e-mail in error, please let us know
> by replying to the sender, and immediately delete it from your system.
> Please note, that in these circumstances, the use, disclosure,
> distribution or copying of this information is strictly prohibited. We
> apologize for any inconvenience that may have been caused to you.
> KEMRI-Wellcome Trust Programmecannot accept any responsibility for the accuracy
> or completeness of this message as it has been transmitted over a public
> network. KEMRI-Wellcome Trust Programme reserves the right to monitor all incoming and
> outgoing email traffic. Although the Programme has taken reasonable
> precautions to ensure no viruses are present in emails, it cannot
> accept responsibility for any loss or damage arising from the use of the
> email or attachments. Any views expressed in this message are those of
> the individual sender, except where the sender specifically states them
> to be the views of KEMRI- Wellcome Trust Programme.
> ______________________________________________
> R-help at 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.

More information about the R-help mailing list