[R] demo() output looks garbled in default pager (less and most)

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 3 11:40:00 CEST 2006


You are almost certainly using a UTF-8 locale and have the character set 
for less and/or your terminal set incorrectly.  This works exactly as 
intended on a properly configured Linux system in single-byte and UTF-8 
locales.

This would be quite inappropriate as a bug report on R.

On Wed, 3 May 2006, Ivailo Stoyanov wrote:

> Dear Rexperts,
>
> I have recently build R-2.3.0 from source on a Linux system and have
> encountered the following problem (perhaps not exactly a problem, but a
> minor display flaw):
>
> > demo()
> +------------here is how the output looks in less------------+
> Demos in package <E2><80><98>base<E2><80><99>:

Those are UTF-8 byte sequences for left- and right- single quotes.

[...]

-- 
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