Tcl/Tk Interface

Interface and language bindings to Tcl/Tk GUI elements.


This package provides access to the platform-independent Tcl scripting language and Tk GUI elements. See TkWidgets for a list of supported widgets, TkWidgetcmds for commands to work with them, and references in those files for more.

The Tcl/Tk documentation is in the directory R_HOME/Tcl/doc. the system man pages.

For a complete list of functions, use ls("package:tcltk").

Note that Tk will not be initialized if there is no DISPLAY variable set, but Tcl can still be used. This is most useful to allow the loading of a package which depends on tcltk in a session that does not actually use it (e.g., during installation).

  • tcltk-package
  • tcltk
Documentation reproduced from package tcltk, version 3.6.2, License: Part of R 3.6.2

Community examples

Looks like there are no examples yet.