[R] Brace highlighting in R for the PC?

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Sep 22 08:56:21 CEST 1999


On Wed, 22 Sep 1999, Stephen R. Laniel wrote:

> Hey everyone,
> 
> Might it be possible for future versions of PC-R to highlight the opening
> brace in a pair, a la emacs?  Programs that do that are infinitely
> friendlier than those that don't.

Excuse me, what do you mean by PC-R, precisely?  The Rgui console
front-end? Rterm? R for Windows running under ESS under Emacs?

It surprises me that anyone would be typing anything sufficiently
complicated into the R command line that brace matching would matter, as
that has editing only on the current line. I write such things elsewhere
and paste them in. And if I write in a R-mode buffer in NTemacs, I get all
the syntax highlighting and brace matching etc.  There is also the option
to run R for Windows directly from NTemacs under ESS, reducing the pasting
to key-strokes.

Does anyone else see a need for this?  It is certainly possible, and if you
really want it, please submit the code patches to implement it. But that
other users do not seem to find the current scheme `infinitely unfriendly'
suggests that this ought not to be high on the primary developers' list of
priorities.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list