RGtk2

From Wikipedia, the free encyclopedia

Template:Short description

Page Module:Infobox/styles.css has no content.

RGtk2
[[Programmer|DeveloperTemplate:Pluralize from text]]Michael Lawrence and Duncan Temple Lang
Template:Infobox software/simple
EnginePage Template:Plainlist/styles.css has no content.Template:EditAtWikidata
Operating systemCross-platform
PlatformCross-platform
Typewidget toolkit
LicenseGPL
Websitewww.ggobi.org/rgtk2
RepositoryPage Template:Plainlist/styles.css has no content.

Script error: No such module "Check for conflicting parameters".

Template:Main article RGtk2 is a set of R wrappers for the GTK+ graphical user interface library. RGtk2 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:

Page Template:Div col/styles.css has no content.

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

Template:R (programming language) Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.