henrik.parn at bio.ntnu.no
2009-Dec-17 09:05 UTC
[Rd] Wrong links in help help files? (PR#14155)
Dear R developers, ?help.search ...opens a tab in my browser (Firefox 3.5.6, Win XP): http://127.0.0.1:31642/library/utils/html/help.search.html When I click on the link for "?", (http://127.0.0.1:31642/library/utils/help/?) in the last line of "Details", I get an error message: "Server error: invalid response from R". Similarly, The link to "??" (http://127.0.0.1:31642/library/utils/help/??) found under http://127.0.0.1:31642/library/utils/html/help.html "See also" gives same error message. On the other hand, in the help text for "help" (http://127.0.0.1:31642/library/utils/html/help.html) the link to "?", found under "See also", is http://127.0.0.1:31642/library/utils/html/Question.html, which seems to be the correct link. I did not manage to find anything on this topic in recent bug reports on "Documentation" and "Documentation fixed". Best regards, Henrik P?rn > sessionInfo() R version 2.10.1 (2009-12-14) i386-pc-mingw32 locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C [5] LC_TIME=English_United Kingdom.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.10.1 -- Henrik P?rn Centre for Conservation Biology Department of Biology Norwegian University of Science and Technology NO-7491 Trondheim Norway Office: +47 73596285 Fax: +47 73596100 Mobile: +47 90989255 E-mail: henrik.parn at bio.ntnu.no
On 17/12/2009 4:05 AM, henrik.parn at bio.ntnu.no wrote:> Dear R developers, > > > ?help.search > > ...opens a tab in my browser (Firefox 3.5.6, Win XP): > > http://127.0.0.1:31642/library/utils/html/help.search.html > > When I click on the link for "?", > (http://127.0.0.1:31642/library/utils/help/?) > in the last line of "Details", I get an error message: > > "Server error: invalid response from R". > > > Similarly, > > The link to "??" (http://127.0.0.1:31642/library/utils/help/??) found > under http://127.0.0.1:31642/library/utils/html/help.html "See also" > gives same error message. > > > On the other hand, in the help text for "help" > (http://127.0.0.1:31642/library/utils/html/help.html) the link to "?", > found under "See also", is > http://127.0.0.1:31642/library/utils/html/Question.html, which seems to > be the correct link. > > > I did not manage to find anything on this topic in recent bug reports on > "Documentation" and "Documentation fixed".Thanks. The problem is that the HTML converter doesn't escape the question marks, which have special meaning in a URL, so they are misinterpreted. I'll look into it. Duncan Murdoch> > > Best regards, > > > Henrik P?rn > > > > sessionInfo() > R version 2.10.1 (2009-12-14) > i386-pc-mingw32 > > locale: > [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United > Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C > > [5] LC_TIME=English_United Kingdom.1252 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] tools_2.10.1 > >
This is now fixed in R-devel and R-patched as of r50774. It should show up in Windows builds tomorrow. There were probably other special characters besides "?" that it handled incorrectly; thanks for noticing. Duncan Murdoch On 17/12/2009 4:05 AM, henrik.parn at bio.ntnu.no wrote:> Dear R developers, > > > ?help.search > > ...opens a tab in my browser (Firefox 3.5.6, Win XP): > > http://127.0.0.1:31642/library/utils/html/help.search.html > > When I click on the link for "?", > (http://127.0.0.1:31642/library/utils/help/?) > in the last line of "Details", I get an error message: > > "Server error: invalid response from R". > > > Similarly, > > The link to "??" (http://127.0.0.1:31642/library/utils/help/??) found > under http://127.0.0.1:31642/library/utils/html/help.html "See also" > gives same error message. > > > On the other hand, in the help text for "help" > (http://127.0.0.1:31642/library/utils/html/help.html) the link to "?", > found under "See also", is > http://127.0.0.1:31642/library/utils/html/Question.html, which seems to > be the correct link. > > > I did not manage to find anything on this topic in recent bug reports on > "Documentation" and "Documentation fixed". > > > Best regards, > > > Henrik P?rn > > > > sessionInfo() > R version 2.10.1 (2009-12-14) > i386-pc-mingw32 > > locale: > [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United > Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C > > [5] LC_TIME=English_United Kingdom.1252 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] tools_2.10.1 > > >