This file is indexed.

/usr/lib/R/site-library/tcltk2/test.R is in r-cran-tcltk2 1.2-10-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
26
27
28
29
30
31
32
### tcltk2 examples

### autoscroll
tclRequire("autoscroll")
tt <- tktoplevel()
scrl <- tkscrollbar(tt, orient = "v", command = function(...) tkyview(txt, ...))
txt <- tktext(tt, highlightthickness = 0, yscrollcommand = function(...) tkset(scrl, ...))
tkpack(scrl, side = "right", fill = "y")
tkpack(txt, side = "left", fill = "both", expand = 1)
tcl("::autoscroll::autoscroll", scrl)


### combobox: to eliminate!

### choosefont
### TODO


### ctext
### TODO


### cursor
### TODO


### swaplist
tclRequire("swaplist")
tt <- tktoplevel()
opts <- tclVar()
sl <- tcl("swaplist::swaplist", tt, opts, 1:9, c(1, 3, 5))
cat("You choose:", tclvalue(opts), "\n")