[R] Installing rgl on linux

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sun Jul 25 18:52:28 CEST 2004


Georg von Graevenitz <gvg at vwl.wi.tu-muenchen.de> writes:

> I have attempted to install rgl form within R and from a shell using the
> tarball (rgl_0.64-13.tar.gz). I attach the output for both attempts
> below.
[chop]

> In file included from glgui.h:9,
>                  from gui.h:10,
>                  from x11gui.h:10,
>                  from x11lib.cpp:13:
> opengl.h:19:19: GL/gl.h: No such file or directory
> opengl.h:20:20: GL/glu.h: No such file or directory

This is the problem. rgl needs to work with (surprise) GL libraries
and include files. With SuSE 9.0 the thing you need is

> rpm -qf /usr/include/GL/gl.h
XFree86-Mesa-devel-4.3.0.1-33

and later on 

XFree86-Mesa-4.3.0.1-33

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list