RGtk2

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

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

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:

gollark: this code is HIGHLY not good.
gollark: Based on my testing, EWO uses about 3% CPU per player...
gollark: This is very not ideal.
gollark: ?
gollark: Okay, so, different idea: core logic in Rust, maybe use an ECS or something, and see if I can have Lua-based scripting?

See also

References

    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.