Skip to content

R-2.1.0 search engine works with mozilla browser but notfirefox

4 messages · Waichler, Scott R, Marc Schwartz, Brian Ripley

#
Ok, the above pathname is the exact one.  Yes, this is the one I used.
This is not installed on my machine.
Yes, this test page works fine in my Firefox, and about:plugins shows
the Java stuff is present and enabled.  And the boxes under Preferences
are checked.

Java is working in my Firefox, but there is something about the R search
engine it doesn't like.  Just to be really clear, this is the page that
appears, but the links and search box inside it don't work:
file:///tmp/RtmpB32234/.R/doc/html/search/SearchEngine.html 

Scott
#
On Fri, 2005-04-29 at 13:04 -0700, Waichler, Scott R wrote:
OK. That was just in case you have a prior version installed. Though you
might want to check in /usr/java to be sure that there are no other
versions present.
That is correct. R uses dynamically created pages, which will be
in /tmp.

Scott, do you have a lot of CRAN/BioC packages installed?  If the list
of your installed packages is not overly long, why don't you post it
back here, or if it is, send it to me offlist.

I am wondering if there is an installed package causing problems for the
search engine.

I am not sure of other possible issues.

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

Marc
#
On Fri, 29 Apr 2005, Marc Schwartz wrote:

            
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).
#
On Sat, 2005-04-30 at 06:32 +0100, Prof Brian Ripley wrote:
Prof. Ripley,

Thanks for your reply. I had been running Version 2.1.0 Patched
(2005-04-20) when these problems appeared.

I updated to Version 2.1.0 Patched (2005-04-28) this morning and the
problem has indeed resolved with each of the above packages.

Martin (the author of sfsmisc) sent me an e-mail indicating that he had
uploaded a new version to CRAN a few days ago to resolve the problem.
The last time that I had run update.packages() was earlier in the week,
probably just before he made the new version available.

I'll follow my note to the package authors/maintainers with an update on
this.

Best regards,

Marc