Commander.HH {Rcmdr.HH}R Documentation

Start the R Commander with HH additions

Description

Start the R Commander GUI (graphical user interface) with the HH additions.

Usage

## reads menu from elsewhere and
## adds the Rcmdr.HH version number to options("Rcmdr")
Commander.HH(etc.Menus=file.path(.path.package(package="Rcmdr.HH")[1], "etc"),
             version=packageDescription("Rcmdr.HH", fields="Version"),
             Rcmdr.options)

Arguments

etc.Menus Alternate menu location, defaults to Rcmdr/etc in Commander and defaults to Rcmdr.HH/etc in Commander.HH.
version version number, accessible at runtime as RcmdrVersion.
Rcmdr.options Optional list of options. The user enters, for example, Rcmdr.options=list(console.output=TRUE). This generates a value that can be accessed as options$Rcmdr

. See Commander.

Details

This sets up options and then calls Commander.

The menu is read from Rcmdr.HH/etc instead of Rcmdr/etc.

If the Rcmdr window is already open, then it gives a warning and the existing Rcmdr window stays open. This means that the additional menu items are not available. The user must explicitly close the existing Rcmdr window and then run Commander.HH() to get the additional menu items.

Author(s)

Changes by Richard M. Heiberger <rmh@temple.edu>, based on original by John Fox jfox@mcmaster.ca

Examples

## Not run: 
   ## start R
   library(Rcmdr.HH)        ## loads the package and opens the Rcmdr
                            ## window with the HH menu

   Commander()              ## Once, Rcmdr.HH has been loaded, this
                            ## command will restart Rcmdr.HH.

   options(Rcmdr=NULL); Commander()  ## back to the original Rcmdr

   Commander.HH()           ## Rcmdr startup with HH menu

   Commander.HH(Rcmdr.options=list(console.output=TRUE))
                            ## Send output to console instead of
                            ## to Rcmdr output window.
## End(Not run)

[Package Rcmdr.HH version 1.7-3 Index]