[R] History command

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 26 12:09:17 CEST 2004


On Tue, 26 Oct 2004, Neil Leonard wrote:

> I was wondering whether there is a command in R similar to the '!' 
> command in unix.

What do you think the `! command in Unix' does?  Your subject line
suggests you are thinking of the history substitution mechanism in a csh
_shell_ (copied for bash).  If that is what you mean, and you are using
Unix with readline enabled, see `man readline' on your system for what is
available (which can often be used to similar effect).  Or (to save the 
inevitable supplementary comment) use ESS if you use Emacs.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list