[R] X11 problem

carol white wht_crl at yahoo.com
Thu Aug 25 15:05:17 CEST 2011


both. But it worked for R-2-10.

I added 

deb http://cran.ma.imperial.ac.uk/bin/linux/ubuntu lucid/

into  /etc/apt/sources.list and ran

apt-get update 


as root and got the following error message:


W: GPG error: http://cran.ma.imperial.ac.uk lucid/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B22AB97AF1CDFA9


----- Original Message -----
From: Kevin E. Thorpe <kevin.thorpe at utoronto.ca>
To: carol white <wht_crl at yahoo.com>
Cc: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch>
Sent: Thursday, August 25, 2011 3:00 PM
Subject: Re: [R] X11 problem

On 08/25/2011 08:49 AM, carol white wrote:
> Thanks for your reply. I used the following commands:
> sudo apt-get update
> sudo apt-get install r-base
>

Is that how you installed R-2-10 or how you tried to install 2.13.1?

> ----- Original Message -----
> From: Kevin E. Thorpe<kevin.thorpe at utoronto.ca>
> To: carol white<wht_crl at yahoo.com>
> Cc: "r-help at stat.math.ethz.ch"<r-help at stat.math.ethz.ch>
> Sent: Thursday, August 25, 2011 2:34 PM
> Subject: Re: [R] X11 problem
>
> On 08/25/2011 08:27 AM, carol white wrote:
>> Hello,
>> TO update R under Ubuntu on my macchine, I downloaded R-2.13.1. When running ./configure, I got the following error message:
>>
>> checking for X... no
>> configure: error: --with-x=yes (default) and X11 headers/libs are not available
>>
>>
>>
>> But I could use X11() function in R-2-10. So where does the problem come from?
>>
>> Cheers,
>>
>> Carol
>>
>
> It looks like you're compiling from source and your system does not have
> the header files required installed.  Did you compile your previous
> version or use a pre-built (binary) package?  A binary package would not
> require the headers.
>
> I don't use Ubuntu, so I don't know what the name of packages you need
> for the headers.  Typically the packages have the devel versions
> separate, you you need those.
>


-- 
Kevin E. Thorpe
Biostatistician/Trialist,  Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.thorpe at utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016




More information about the R-help mailing list