[Rd] wish: print.condition and html (PR#7848)

ripley at stats.ox.ac.uk ripley at stats.ox.ac.uk
Tue May 10 20:07:24 CEST 2005

Surely this is a serious bug in your HTML generator?  It should be 
converting such characters to escape codes.

<> is used a lot in R printing, and it is not reasonable to expect R to 
change to avoid bugs in other tools.  So is [], and we don't want to add

On Tue, 10 May 2005 tshort at eprisolutions.com wrote:

> Full_Name: Tom Short
> Version: 2.1.0
> OS: Win2000
> Submission from: (NULL) (
> print.condition prints out error messages enclosed in angle brackets as in:
>> simpleError("Sigh, yet another error...")
> <simpleError: Sigh, yet another error...>
> If R is used to generate HTML output (R2HTML or Rpad), then the error messages
> get hidden because browsers will skip right over the "<simpleError: Sigh, yet
> another error...>".
> Suggestion: remove the angle brackets or replace with square brackets or
> something else that won't confuse a browser.

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-devel mailing list