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
[1] "http://127.0.0.1:9000/library/graphics/html/plot.html"
Romain
Ta
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
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/cork4b : highlight 0.1-8
|- http://bit.ly/bklUXt : RcppArmadillo 0.2.1
`- http://bit.ly/936ck2 : Rcpp 0.8.0
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel