Jump to content

RGtk2

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by ScotXW (talk | contribs) at 13:10, 5 April 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
RGtk2
Developer(s)Michael Lawrence and Duncan Temple Lang
Stable release
2.12.18
Operating systemCross-platform
PlatformCross-platform
Typewidget toolkit
LicenseGPL
Websitewww.ggobi.org/rgtk2

RGtk+ is a set of R wrappers for the GTK+ graphical user interface library. RGtk+ is free software and licensed under the GPL.

Syntax

The 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

RGtk2 has been used in a number of notable applications, some examples:

See also

References