Le 27/05/10 09:48, Jamie Love a ?crit :
Thanks for the info,
I'm happy to use the new httpd server that serves the help files -
that'd definitely help. My difficulty with this approach is that I'm
not sure how to get the URL -
Say for example I've done help.start(),
then I do:
help(plot)
it will redirect my web browser to the plot page -
How can I stop it touching my web browser and instead return to me the
URL.
I tried overriding the browseURL() function, but it seem to do nothing.
Perhaps something like this:
options( browser = function(url, ...) print( url ) )
?plot
It's much more simple since 2.10 as you can simply use the URL (same URL
as the help system uses). For examples see JGR or the Mac GUI. Or you can do
the same thing that the Rhttpd server does ?actually generating the html -
see tools:::httpd