This file is indexed.

/usr/lib/R/site-library/rgl/initNotes.txt is in r-cran-rgl 0.96.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Notes on initialization of rglClass scenes:

writeWebGL and renderValue call rglClass.initialize

rglClass.initialize calls rglClass.initCanvas

rglClass.initCanvas creates the canvas and 
does a bunch of other initialization:
  copyObj - no GL stuff
  initSubscene - no GL stuff
  setMouseHandlers - doesn't do GL stuff itself, but
    does set up calls to drawScene
  initGL0 - tests for WebGL support, then calls initGL.
  initSphere - sets up sphere and does GL stuff
  initObj - sets up a lot of things and does GL stuff

rglClass.initGL0 checks for existence of WebGL, then calls rglClass.initGL.

rglClass.initGL gets the context.



Scene object initialization:

initObj sets initialized