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 Models:
field in the
package's 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 plugins
option
(see 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
plug-in.
An illustrative R Commander plug-in package, RcmdrPlugin.TeachingDemos, is available on CRAN.
For more details, see my (slightly 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 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>.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.