commandr: Command pattern in R

An S4 representation of the Command design pattern. The Operation class is a simple implementation using closures and supports forward and reverse (undo) evaluation. The more complicated Protocol framework represents each type of command (or analytical protocol) by a formal S4 class. Commands may be grouped and consecutively executed using the Pipeline class. Example use cases include logging, do/undo, analysis pipelines, GUI actions, parallel processing, etc.

Getting started

Package details

AuthorMichael Lawrence
MaintainerMichael Lawrence <>
Package repositoryView on R-Forge
Installation Install the latest version of this package by entering the following in R:
install.packages("commandr", repos="")

Try the commandr package in your browser

Any scripts or data that you put into this service are public.

commandr documentation built on May 2, 2019, 4:59 p.m.