RGtk2
Encyclopedia
RGtk+ is a set of R
R (programming language)
R is a programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians for developing statistical software, and R is widely used for statistical software development and data analysis....

 wrapper
Adapter pattern
In computer programming, the adapter pattern is a design pattern that translates one interface for a class into a compatible interface...

s for the GTK+
GTK+
GTK+ is a cross-platform widget toolkit for creating graphical user interfaces. It is licensed under the terms of the GNU LGPL, allowing both free and proprietary software to use it. It is one of the most popular toolkits for the X Window System, along with Qt.The name GTK+ originates from GTK;...

 graphical user interface
Graphical user interface
In computing, a graphical user interface is a type of user interface that allows users to interact with electronic devices with images rather than text commands. GUIs can be used in computers, hand-held devices such as MP3 players, portable media players or gaming devices, household appliances and...

 library
Library (computer science)
In computer science, a library is a collection of resources used to develop software. These may include pre-written code and subroutines, classes, values or type specifications....

. RGtk+ is free software
Free software
Free software, software libre or libre software is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with restrictions that only ensure that further recipients can also do...

 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:

  • Rattle
    Rattle GUI
    Rattle GUI is a free and open source software package providing a graphical user interface for Data Mining using the R statistical programming language. The source code available at http://rattle.googlecode.com. Rattle is currently used around the world, in a variety of situations...



See also

  • R (programming language)
    R (programming language)
    R is a programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians for developing statistical software, and R is widely used for statistical software development and data analysis....

    (The R statistical programming language)

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK