Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
2701 views
1
## Hacked help.start() to use with ess-rutils.el
2
.rutils.help.start <- function (update=FALSE, remote=NULL) {
3
home <- if (is.null(remote)) {
4
if (tools:::httpdPort == 0L)
5
tools::startDynamicHelp()
6
if (tools:::httpdPort > 0L) {
7
if (update)
8
make.packages.html()
9
paste("http://127.0.0.1:", tools:::httpdPort, sep="")
10
}
11
else stop(".rutils.help.start() requires the HTTP server to be running",
12
call.=FALSE)
13
} else remote
14
paste(home, "/doc/html/index.html", sep="")
15
}
16
17