search for: hasnonamespaceerror

Displaying 2 results from an estimated 2 matches for "hasnonamespaceerror".

2006 Oct 06
1
operator :: and symbols not in the namespace of a package with a namespace (PR#9279)
...: If the package has a namespace, try getExportedValue (), if that fails, try to get from package environment instead. E.g.: "::" <- function (pkg, name) { pkg <- as.character(substitute(pkg)) name <- as.character(substitute(name)) ns <- tryCatch(asNamespace(pkg), hasNoNamespaceError = function(e) NULL) if (is.null(ns)) { pos <- match(paste("package", pkg, sep = ":"), search(), 0) if (pos == 0) stop(gettextf(paste("package '%s' has no name space and", "is not on the sear...
2009 Nov 02
2
R292 and tcl/tk
...--- Loading Tcl/Tk interface ... *** caught segfault *** address 21188073e, cause 'memory not mapped' Traceback: 1: .C("tcltk_init", PACKAGE = "tcltk") 2: fun(...) 3: doTryCatch(return(expr), name, parentenv, handler) ............... 19: tryCatch(asNamespace(pkg), hasNoNamespaceError = function(e) NULL) 20: tcltk::tk_select.list 21: menu(m[, 1L], graphics, "CRAN mirror") 22: chooseCRANmirror() 23: contrib.url(repos, type) 24: available.packages(contriburl = contriburl, method = method) 25: update.packages() CONFIGURATION 2 (without tcl/tk) ../R-2.9.2/configure --en...