Displaying 2 results from an estimated 2 matches for "httpdport".
Did you mean:
http_port
2010 Aug 05
1
Sciviews-K -- object 'httpdPort' not found
...stall Sciviews-K on Linux Ubuntu 9.10 (karmic) but I'm not able to establish the connection between Komodo and R. Here;s the error I get, plus some diagnostic info:
R version 2.9.2 (2009-08-24)
R is SciViews ready!
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) :
object 'httpdPort' not found
> ls()
[1] "svStart"
> Sys.info()
sysname
"Linux"
release
"2.6.31-22-generic"
...
2014 Dec 05
2
Use of tools:::httpdPort in a package for CRAN.
...Duncan Murdoch
suggested to inspect (see
http://r.789695.n4.nabble.com/Obtain-00Index-html-tt4697661.html)
tools:::httpd (thank you therefore!). So I came up with:
help.index <- function (pkg, browser = NA, encodeIfNeeded = FALSE) {
pkg <- as.character(substitute(pkg))
hport <- tools:::httpdPort
if (!pkg %in% rownames(installed.packages()))
stop(paste("Package", pkg, "not found."))
if (hport == 0) {
cat("Starting dynamic help.\n")
t <- try(startDynamicHelp(), silent = TRUE)
if (class(t) == "try-error")
stop("Could not start dynamic help.&qu...