Re: [R] Problem rgl

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 11 May 2011 06:40:46 +0100 (BST)

On Tue, 10 May 2011, Duncan Murdoch wrote:

> On 11-05-10 6:23 PM, tarnus wrote:
>> Dear List,
>>
>> I'm using R on a Fedora 14 32 bit machine and I'm trying to use the
>> rgl-package, but get the following error-messages:
>>
>>> library(rgl)
>> Warnmeldungen:
>> 1: In rgl.init(initValue) : RGL: no suitable visual available
>> 2: In fun(...) : error in rgl_init
>>
>>> plot3d()
>> Fehler in rgl.cur() : rgl_dev_getcurrent
>>
>> Does anyone know how to solve this problem?
>
> I don't know how to solve it, but I can tell you what the message means:
>
> On your platform rgl needs to use X11, and it is apparently not able to get
> the type of "visual" it needs from X11 on your host. Do other X11 programs
> work?

I expect some do. The requirements are in x11rgl.cpp, namely

     GLX_RGBA,
     GLX_DOUBLEBUFFER,
     GLX_RED_SIZE, 1,
     GLX_GREEN_SIZE, 1,
     GLX_BLUE_SIZE, 1,
     GLX_ALPHA_SIZE, 0,
     GLX_DEPTH_SIZE, 1,

and 'man glXChooseVisual' explains them. I suspect it is one of the first two which is the problem.

We are way off topic here (and Fedora 14 on our systems does provide suitable visuals), but that should be enough for you to get local Linux help on setting up your X server suitably.

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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.
Received on Wed 11 May 2011 - 05:53:15 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 11 May 2011 - 08:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive