RGtk2 is a set of R wrappers for the GTK+ graphical user interface library. RGtk2 is free software and licensed under the GPL.
Developer(s) | Michael Lawrence and Duncan Temple Lang |
---|---|
Stable release | 2.20.36[1]
/ 8 March 2019 |
Operating system | Cross-platform |
Platform | Cross-platform |
Type | widget toolkit |
License | GPL |
Website | www.ggobi.org/rgtk2 |
Syntax
editThe code below will produce a 200x200 pixel window with the words "Hello World" inside.
library(RGtk2)
createWindow <- function()
{
window <- gtkWindow()
label <- gtkLabel("Hello World")
window$add(label)
}
createWindow()
gtk.main()
Notable applications that use RGtk2
editRGtk2 has been used in a number of notable applications, some examples:
See also
edit- R (programming language) (The R statistical programming language)
References
edit- ^ https://cran.r-project.org/package=RGtk2.
{{cite web}}
: Missing or empty|title=
(help)
External links
edit- RGtk2 Homepage Archived 2010-07-18 at the Wayback Machine
- RGtk2 Package on CRAN
- github