RGtk2 is a set of
R wrappers for the
GTK+
GTK (formerly GIMP ToolKit and GTK+) is a free and open-source cross-platform widget toolkit for creating graphical user interfaces (GUIs). It is licensed under the terms of the GNU Lesser General Public License, allowing both free and proprie ...
graphical user interface
The GUI ( "UI" by itself is still usually pronounced . or ), graphical user interface, is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, inste ...
library
A library is a collection of materials, books or media that are accessible for use and not just for display purposes. A library provides physical (hard copies) or digital access (soft copies) materials, and may be a physical location or a vir ...
. RGtk2 is
free software
Free software or libre software is computer software distributed under terms that allow users to run the software for any purpose as well as to study, change, and distribute it and any adapted versions. Free software is a matter of liberty, no ...
and licensed under the
GPL
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general us ...
.
Syntax
The code below will produce a 200x200 pixel window with the words "
Hello World" inside.
library(RGtk2)
createWindow <- function()
createWindow()
gtk.main()
Notable applications that use RGtk2
RGtk2 has been used in a number of notable applications, some examples:
*
Rattle
Rattle may refer to:
Instruments
* Crotalus (liturgy), a liturgical percussion instrument
* Rattle (percussion instrument), a type of percussion instrument
* Rattle (percussion beater), a part of some percussion instruments
* Ratchet (instrume ...
*
RQDA
RQDA is an R package for computer assisted qualitative data analysis or CAQDAS. It is installable from, and runs within, the R statistical software, but has a separate window running a graphical user interface (through RGtk2). RQDA's approach al ...
See also
*
R (programming language)
R is a programming language for statistical computing and graphics supported by the R Core Team and the R Foundation for Statistical Computing. Created by statisticians Ross Ihaka and Robert Gentleman, R is used among data miners, bioinform ...
(The R statistical programming language)
References
External links
RGtk2 HomepageRGtk2 Package on CRANgithub
{{GTK
GTK language bindings
Free R (programming language) software
Articles with example R code