SciViews-R


SciViews-R is a series of packages providing a GUI API on top of R, a free (Open Source) statistical software based on the S language.

Installation

April 04, 2012

You must first install R from CRAN ("Comprehensive R Archive Network"). R can be installed on different systems (Linux, Mac OS X, Windows, ...) and binaires/installers are provided for several OSes.

To install SciViews-R from CRAN, you simply enter the following instruction at the R command line on a machine connected to the Internet:

SciViewsPackages <- c("SciViews", "svMisc", "svSocket", "svGUI", "svIDE", "svKomodo", "svDialogs", "svSweave", "svTools", "svUnit", "svWidgets", "tcltk2") install.packages(SciViewsPackages)

For a short description of the packages in SciViews-R, see hereunder. The development versions of the SciViews-R packages can be found on R-Forge. If you want to use them instead (warning: this is not a stable, production version, and binaires for all platforms/OSes are not available there), type in R:

SciViewsPackages <- c("SciViews", "svMisc", "svSocket", "svGUI", "svIDE", "svKomodo", ""svDialogs", "svSweave", "svTools", "svUnit", "svWidgets", "tcltk2") install.packages(SciViewsPackages, repos = "http://R-Forge.R-project.org")

Where to start...

April 04, 2012

Once the SciViews-R additional packages are installed in R, here is how you can load one of these packages; type in R:

library(svDialogs)

You have now access to the function in that package. Try for instance:

display(guiDlg("SciViews-R", "My first dialog box with SciViews-R"))

You should then look at the R online help, and browse for help and examples for the various 'svXXXX' packages:

help.start()

Here is a short description of the SciViews-R packages:

  • SciViews: Main package
  • svMisc: Miscellaneous functions
  • svSocket: R Socket Server
  • svGUI: Functions to manage GUI client
  • svIDE: IDE and code editor functions
  • svKomodo: Functions to interface with Komodo Edit/IDE
  • svDialogs:Dialog boxes
  • svSweave:Sweave extensions
  • svTools: Tools for code analysis
  • svUnit: Unit testing
  • svWidgets: Widgets & Windows
  • tcltk2: Additional Tcl/Tk code and widgets

There is a video demonstrating the use of svSocket for communication between different R processes.

Note: the package svDialogs can manage (custom) menus for a R console under Linux/Unix, but you have to install a little Gtk2 program (ctxmenu) to display these menus on screen. Follow instruction in this zipped file. This little program is derived from gtkMenu.

Note2: the package tcltk2 allows for DDE interaction with R under Windows. The help page indicates the use of execdde.exe utility that is no longer distributed with the package, but can be downloaded from here. Unzip the file and place execdde.exe in a directory that is in your path (for instance, c:\Windows\system32).

You should also take a look at SciViews-K for an actual implementation of a R GUI in Komodo Edit.

Question? Suggestion? Bug report?

April 04, 2012

If you have any question about SciViews-R, send an email to support@sciviews.org. For bug report, suggestions, feature requests, or for proposing a patch, please, use the SciViews R-Forge tracker.

You have access to the latest development version of SciViews-R here, in the /pkg subdirectory. You could also be interested by the SciViews-commits mailing list if you want to closely follow its developments.

Old version

Dec 5, 2005

The first version of the SciViews R GUI was running only under Windows. Here is the installer for the SciViews R console (SciViews-R_0.9-2Setup.exe, 9.5Mb), and the latest compatible R version, configured with all required additional packages (R-2.2.1-SciViews_0.9-2.exe, 69.4Mb). You must install both in the default directory. If you decide to install them in custom directories, follow instructions in the user's manual to configure the SciViews R console accordingly. Here is a screenshot of this old version and a pamphlet quickly presenting its features. See also this ReadMe file.

Note that this old version is not supported any more, not compatible with latest R or R packages, and does probably not run well under Windows Vista or Seven (it was designed for Windows 2000 and was tested largely on Windows XP too).