[R] R-2.1.0 search engine works with mozilla browser but notfirefox

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Apr 30 07:32:52 CEST 2005


On Fri, 29 Apr 2005, Marc Schwartz wrote:

> On Fri, 2005-04-29 at 13:04 -0700, Waichler, Scott R wrote:
>
> I did find that there seems to be at least four CRAN packages:
>
> 1. PHYLOGR
> 2. sfsmisc
> 3. survrec
> 4. vardiag
>
> that seem to have problems with UTF-8 locales. If I run help.start() in
> my default locale of en_US.UTF-8, I get the following for each of the
> above packages:
>
>> help.start()
> Making links in per-session dir ...
> Error in gsub(pattern, replacement, x, ignore.case, extended, fixed) :
>        input string 28 is invalid in this locale
>
> The number of the input string does change. I believe that the above
> error occurs within make.packages.html().
>
> If I change to LANG=C, the above packages do not cause problems, so
> perhaps they need to be updated for R 2.1.0.
>
> I'll drop a separate e-mail to each of the package authors above.

They have non-ASCII titles in their help files.  This issue is resolved 
for R-patched:

     o	make.packages.html() called by help.start() was failing if
 	there were installed packages with titles invalid in the
 	current locale.

However, there are further layers of incompatibility, and those will be 
dealt with in 2.2.x, as far as possible (there is no way to display German 
in a Chinese locale on Windows 98, for example).

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