Skip to content
Prev 12101 / 15075 Next

R commander fonts on R 3.4.0

The thing I recall was something like "We tried this approach but it crashed immediately so we gave up", but I may well be mistaken, or it was some other library, or...
The attached (which at least you and Simon should get, but may get scrubbed for the mailing list)  shows how it looks with Aqua-Tcl/Tk using the ActiveState binaries for 8.6.6, after I increased the font sizes to legibility. Obviously, these do not crash like the source compiles do....better not get started on commenting upon _that_ situation. 

As you see, it is pretty close to usable with a few misfeatures: The background colouring is off in places and the highlighting, counterproductively, comes out black-on-blue rather than white-on-blue. All functionality that I tried appeared to be present, even the data editor.

Incidentally, in the background, you see the regular XQuartz Rcmdr when using the TclTk from the R-3.3 packages (with the smooth fonts).
Most of what I see is probably shortcomings of the R/Tcl interface. Ideally, everything should be tcl() calls and tclObj's, but ideas like getting an argument list from tk.actual() and using that in tkfont.create() do not quite fit in with the current toolbox.

-pd