[R] customizing help()
Kurt Gerber
kgerber at giub.unibe.ch
Tue Apr 4 12:28:58 CEST 2000
Hi
I tried to customize help(), so it starts the compiled html help, and
searches in all packages.
I wrote the following function:
> my.help
function(topic){
help(topic, package=.packages(all=T), lib.loc=.lib.loc, chmhelp=T)
}
When I use it with
>my.help(help)
give the following error:
Error in help(topic, package = .packages(all = T), lib.loc = .lib.loc, :
No documentation for `topic'
I tried also with
> my.help
function(x){
help(x,chmhelp)}
with the same result.
Only doing help(help) is working. Why my function doesn't work?
`
Kurt Gerber
********************************************
Kurt Gerber
Center for Developement and Environment
Institute of Geography University Bern
Hallerstrasse 12
3012 Bern
phone: +41(0)31 631 40 02
fax: +41(0)31 631 85 44
e-mail: kgerber at giub.unibe.ch
www: http://www.cde.unibe.ch
********************************************
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list