R-beta: modified "help.start()"
Albrecht Gebhardt
agebhard at zidsrv.sci.uni-klu.ac.at
Fri Mar 13 14:44:05 CET 1998
Hi,
this modified version of help.start() makes it possible to store R Documentation
on your (intranet) webserver.
This could be necessary if you run netscape and R from different systems on one
X11 display (if there is no $RHOME directory on the host running netscape).
help.start() <-
function (gui = "irrelevant", browser = "netscape", remote = NULL)
{
if (is.null(remote)) {
url <- "$RHOME/html/index.html"
}
else {
url <- paste(remote, "/html/index.html", sep = "")
}
cat("If", browser, " is already running,\tit is *not* restarted,\n",
"and you must switch to its window.\nOtherwise, be patient..\n")
system(paste(browser, " -remote \"openURL(", url, ")\" 2>/dev/null || ",
browser, " ", url, " &", sep = ""))
}
Then make an appropriate link from $RHOME into your web servers /htdocs tree and
type
help.start(remote='http://your.www.server/R')
A.Gebhardt
-------------------------------------------------------------------------------
Albrecht Gebhardt email: albrecht.gebhardt at uni-klu.ac.at
Institut fuer Mathematik Tel. : (++43 463) 2700/837
Universitaet Klagenfurt Fax : (++43 463) 2700/834
Villacher Str. 161 WWW : http://www-stat.uni-klu.ac.at/~agebhard
A-9020 Klagenfurt, Austria
-------------------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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