[R] Location of HTML help files

Jan Smit smit1 at un.org
Thu Jul 17 06:34:18 CEST 2008

Thanks, Henrik.

I was indeed using Firefox 3.0.1, and I now see that the issue doesn't 
occur with MSIE 7.0. Will use the latter for the time being.

Best regards,


"Henrik Bengtsson" <hb at stat.berkeley.edu> 
Sent by: henrik.bengtsson at gmail.com
17/07/2008 10:45

"Jan Smit" <smit1 at un.org>
r-help at r-project.org
Re: [R] Location of HTML help files


could be a browser issue.  What browser are you using?  I see this
behavior on Firefox 3.0.1 but not Microsoft IE 7.0(.5730.11).

Looking at the source code for the generate search (of 'reshape') you
get the relative URL:


for both browsers.  The difference is that the "current URL" is
different for the two:

Firefox: file:///C:/PROGRA~1/R/R-2.7.1pat/doc/html/index.html
MSIE: C:\Program Files\R\R-2.7.1pat\doc\html\search\SearchEngine.html

Applying the relative URL to the two you get incorrect URL for Firefox:


== file:///C:/PROGRA~1/R/library/R.utils/html/wrap.array.html

MSIE: C:\Program
== C:\Program 
== C:\Program Files\R\R-2.7.1pat\library/R.utils/html/wrap.array.html

So, it seems that the "current URL" for the search result is incorrect
for Firefox, i.e. a missing search/ directory.

My $.02


On Wed, Jul 16, 2008 at 7:27 PM, Jan Smit <smit1 at un.org> wrote:
> I am using R 2.7.1 under Windows XP, installed at C:/R/R-2.7.1.
> The location of the HTML SearchEngine is
> file:///C:/R/R-2.7.1/doc/html/search/SearchEngine.html. Now, when I type 
> phrase, say "reshape", in the search text field, the Search Results page
> suggest that the location of the reshape HTML help file is
> file:///C:/R/library/stats/html/reshape.html, while in reality it is
> file:///C:/R/R-2.7.1/library/stats/html/reshape.html.
> Is there an easy way in which I can fix this?
> --
> Jan Smit
> Statistics Division
> United Nations
> Economic and Social Commission for Asia and the Pacific (ESCAP)
> Rajdamnern Nok Avenue
> Bangkok 10200, Thailand
> Tel: +66 (0) 2288 1689
> Fax: +66 (0) 2288 1082
> http://www.unescap.org/stat/index.asp
>        [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list