R Commander Plug-in Packages
Plug-ins are R packages that extend the R Command interface.
An R Commander plug-in is an ordinary R package that (1) provides extensions to
the R Commander menus is a file named
menus.txt located in the package's
etc directory; (2) provides call-back functions required by these menus;
and (3) in an
RcmdrModels: field in the
DESCRIPTION file, augments the list of model objects
recognized by the R Commander. The menus provided by a plug-in package are
merged with the standard Commander menus. It is also possible to remove menus
and menu items from the standard Commander menu file or from the files of
plug-ins installed before the current one.
Plug-in packages given in the R Commander
Commander) are automatically loaded when the Commander
starts up. Plug-in packages may also be loaded via the Commander
Tools -> Load Rcmdr plug-in(s) menu; a restart of the Commander is
required to install the new menus. Finally, loading a plug-in package when
the Rcmdr is not loaded will load the Rcmdr and activate the
An illustrative R Commander plug-in package, RcmdrPlugin.TeachingDemos, is available on CRAN.
For more details, see my (out-of-date) article on ``Extending the Rcmdr by Plug-in Packages'' in the December 2007 issue of R News <http://www.r-project.org/doc/Rnews/Rnews_2007-3.pdf>. There is also more recent (but also out-of-date) information about writing plug-ins in Fox and Carvalho (2012), ``The RcmdrPlugin.survival Package: Extending the R Commander Interface to Survival Analysis,'' Journal of Statistical Software, 49:7, 1--32. <http://www.jstatsoft.org/v49/i07>.
A variety of utility functions is available to support R Commander plug-in packages;