Rev 4880 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
This is a version of the gnome module shipped with R up to versions2.0.x. It is now a separate front end: how to use it is described inthe R-admin manual in R 2.1.0 to 2.3.1. For later versions of R theinformation is reproduced here.This interface is experimental and incomplete. The console offers abasic command line editing and history mechanism, along with tool andbutton bars that give a point-and-click console to some R commands.Many of the features of the console are currently stubs, and theconsole is no longer under development: it has been kept available asan example of adding a front-end to R. It uses the long-obsoleteversion 1.x of the GNOME libraries.A gtk() graphics device (a port of the x11() device to GDK (the GIMPDrawing Kit)) is available from CRAN as package gtkDevice: thiscooperates rather better with the console than the x11() device.Installing gnomeGUI===================The package can be installed like any other, e.g.R CMD INSTALL gnomeGUI_2.x.y.tar.gzIt is necessary to have compiled R as a shared library (via--enable-R-shlib) or (from R 2.7.0) as a static library (via--enable-R-static-lib).You will need at least the following packages installed:audiofile-0.2.1esound-0.2.23glib-1.2.10gtk+-1.2.10imlib-1.9.10ORBit-0.5.12gnome-libs-1.4.1.2libxml-1.8.16libglade-0.17Later versions are acceptable, but not e.g. gnome2 or libglade2.Remember that some package management systems (such as RPM and deb)make a distinction between the user version of a package and thedeveloper version. The latter usually has the same name but with theextension -devel or -dev. If you use a pre-packaged version of GNOMEthen you must have the developer versions of the above packages inorder to compile the gnomeGUI package.For greater control, gnomeGUI can be configured and builtindependently of R. Create a build directory, and from there run/path/to/gnomeGUI/configure R_HOME=/path/to/R/installationmakemake installThis installs the two files bin/exec/Rgnome andshare/glade/gnome-interface.glade in under R_HOME.The full list of options to this configure isR_HOMEthe directory (containing file bin/R ) of the R installation--with-gnomespecify the prefix for the GNOME dirs--with-gnome-includes=DIRspecify location of GNOME headers--with-gnome-libs=DIRspecify location of GNOME libs--with-libglade-config=LIBGLADE_CONFIGspecify location of libglade-configUsing gnomeGUI==============One the package is installed, invoke R by one ofR -g gnomeR --gui=gnomeThe R core team