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

tshort at eprisolutions.com tshort at eprisolutions.com
Tue May 10 19:52:54 CEST 2005


Full_Name: Tom Short
Version: 2.1.0
OS: Win2000 
Submission from: (NULL) (68.236.159.160)


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.

- Tom



More information about the R-devel mailing list