search for: conditioncall

Displaying 20 results from an estimated 43 matches for "conditioncall".

Did you mean: conditional
2009 Jan 07
1
Compiling R for Solaris 10 Intel
...ceback: 1: .C("spss_init", PACKAGE = "foreign") 2: fun(...) 3: doTryCatch(return(expr), name, parentenv, handler) 4: tryCatchOne(expr, names, parentenv, handlers[[1]]) 5: tryCatchList(expr, classes, parentenv, handlers) 6: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1]], quote(doTryCatch))) call <- sys.call(-4) dcall <- deparse(call)[1] prefix <- paste("Error in", dcall, ": ") LONG <- 75 msg <- conditionMessage(e) sm <- st...
2008 Feb 14
1
{lattice/grid} "Error using packet 1" and traceback
On some errors during the plot of a lattice/grid graphics, there is written a message like "Error using packet 1: missing value where TRUE/FALSE needed" into the concering panel and the next panel is plotted. Which option I could use to stop the execution to have a look at the error by a traceback? Regards - Wolfram
2012 May 15
1
KEGGSOAP installation error
...env, package.lib, package) 11: loadNamespace(package, c(which.lib.loc, lib.loc)) 12: doTryCatch(return(expr), name, parentenv, handler) 13: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14: tryCatchList(expr, classes, parentenv, handlers) 15: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <...
2006 Jun 25
1
using withCallingHandlers, how to deal with warning( , immediate. = TRUE)?
...lwarn <- get("last.warning", envir = .GlobalEnv) + } else lwarn <- list() + # Do not add more than 50 warnings + if (length(lwarn) >= 50) return() + # Add the warning to this list + nwarn <- length(lwarn) + names.warn <- names(lwarn) + Call <- conditionCall(w) + lwarn[[nwarn + 1]] <- Call + names(lwarn) <- c(names.warn, conditionMessage(w)) + # Save the modified version in .GlobalEnv + last.warning <<- lwarn + }) [1] 1 [1] 2 [1] 3 > invisible(warnings()) # Now display delayed warnings() Warning messages: 1: test in: wit...
2007 Dec 10
1
Building R on Sun Solaris 10 (SPARC) using Sun Studio 12
...quot;, PACKAGE = "foreign") > 2: fun(...) > 3: doTryCatch(return(expr), name, parentenv, handler) > 4: tryCatchOne(expr, names, parentenv, handlers[[1]]) > 5: tryCatchList(expr, classes, parentenv, handlers) > 6: tryCatch(expr, error = function(e) { call <- > conditionCall(e) if (!is.null(call)) { if > (identical(call[[1]], quote(doTryCatch))) call <- > sys.call(-4) dcall <- deparse(call)[1] prefix <- > paste("Error in", dcall, ": ") LONGCALL <- 30 if > (nchar(dcall) &gt...
2018 Sep 19
5
segfault issue with parallel::mclapply and download.file() on Mac OS X
...e(paste0(url_base, s), s) 2: FUN(X[[i]], ...) 3: lapply(X = S, FUN = FUN, ...) 4: doTryCatch(return(expr), name, parentenv, handler) 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6: tryCatchList(expr, classes, parentenv, handlers) 7: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75LTraceback: sm <- strsplit(conditionMessage(e), &qu...
2013 Jun 07
1
cannot load pbdMPI package after compilation
...env, package.lib, package) 8: loadNamespace(package, c(which.lib.loc, lib.loc)) 9: doTryCatch(return(expr), name, parentenv, handler) 10: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11: tryCatchList(expr, classes, parentenv, handlers) 12: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <...
2017 Dec 19
1
abort
...eworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.4.3 > conditionCall.x <- function(c) strrep("xxx?", 3000) > stop(structure(list(message="1"), class=c("x","condition"))) zsh: abort R --vanilla -q
2010 Nov 09
1
R-2.12.0 problem on Solaris 10
...the recommended package called Matrix stopped me, since I can finish the installation with the configure option -with-recommended-packages=no. I then run Ø Install.packages("Matrix") Then last few lines of output are the following, 28: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <...
2019 Nov 11
2
R en Jupyter Lab, error al cargar dplyr: "namespace 'rlang' 0.3.4 is being loaded, but >= 0.4.0 is required"
...red Traceback: 1. library(dplyr) 2. tryCatch({ . attr(package, "LibPath") <- which.lib.loc . ns <- loadNamespace(package, lib.loc) . env <- attachNamespace(ns, pos = pos, deps, exclude, include.only) . }, error = function(e) { . P <- if (!is.null(cc <- conditionCall(e))) . paste(" in", deparse(cc)[1L]) . else "" . msg <- gettextf("package or namespace load failed for %s%s:\n %s", . sQuote(package), P, conditionMessage(e)) . if (logical.return) . message(paste("Error:", msg), d...
2011 Jan 27
0
Problems installing gputools
...ge.lib) 3: loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) 4: doTryCatch(return(expr), name, parentenv, handler) 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6: tryCatchList(expr, classes, parentenv, handlers) 7: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <- strsplit(msg, "\n")[[1L]] w <- 14L + nchar...
2010 Feb 08
2
Error on start R in server
...5: loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) 6: doTryCatch(return(expr), name, parentenv, handler) 7: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8: tryCatchList(expr, classes, parentenv, handlers) 9: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <...
2008 Mar 12
1
gracefully handing a library load error
...er", PACKAGE = "cairoDevice") 2: firstlib(which.lib.loc, package) 3: doTryCatch(return(expr), name, parentenv, handler) 4: tryCatchOne(expr, names, parentenv, handlers[[1]]) 5: tryCatchList(expr, classes, parentenv, handlers) 6: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1]], quote(doTryCatch))) call <- sys.call(-4) dcall <- deparse(call)[1] prefix <- paste("Error in", dcall, ": ") LONGCALL <- 30 if (nchar(dcall) > LONGCALL) prefix...
2012 Feb 06
1
Segfault on ".C" registration via R_CMethodDef according to 'Writing R Extensions'.
...lib, package, package.lib) 3: loadNamespace(package, c(which.lib.loc, lib.loc)) 4: doTryCatch(return(expr), name, parentenv, handler) 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6: tryCatchList(expr, classes, parentenv, handlers) 7: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <...
2019 Mar 31
3
stopifnot
...Since \R version 3.5.0, expressions \emph{are} evaluated sequentially, ? and hence evaluation stops as soon as there is a \dQuote{non-TRUE}, as ? indicated by the above conceptual equivalence statement. ? Further, when such an expression signals an error or ? \code{\link{warning}}, its \code{\link{conditionCall}()} no longer ? contains the full \code{stopifnot} call, but just the erroneous ? expression. As I said earlier (https://stat.ethz.ch/pipermail/r-devel/2019-February/077386.html), the last sentence above is not entirely true. It may say something like: Furher, when such an expression signals an er...
2018 Oct 04
0
segfault issue with parallel::mclapply and download.file() on Mac OS X
...FUN(X[[i]], ...) > 3: lapply(X = S, FUN = FUN, ...) > 4: doTryCatch(return(expr), name, parentenv, handler) > 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) > 6: tryCatchList(expr, classes, parentenv, handlers) > 7: tryCatch(expr, error = function(e) { call <- conditionCall(e) if > (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) > call <- sys.call(-4L) dcall <- deparse(call)[1L] > prefix <- paste("Error in", dcall, ": ") > LONG <- 75LTraceback: > sm <- strs...
2019 Apr 14
0
stopifnot
...\emph{are} evaluated sequentially, ? ? >?? and hence evaluation stops as soon as there is a \dQuote{non-TRUE}, as ? ? >?? indicated by the above conceptual equivalence statement. ? ? >?? Further, when such an expression signals an error or ? ? >?? \code{\link{warning}}, its \code{\link{conditionCall}()} no longer ? ? >?? contains the full \code{stopifnot} call, but just the erroneous ? ? >?? expression. ? ? > As I said earlier (https://stat.ethz.ch/pipermail/r-devel/2019-February/077386.html), the last sentence above is not entirely true. You are right to some degree:? That really...
2009 Dec 30
1
seg-fault... but on what
...QuickSQL(conn, statement, ...) 10: dbGetQuery(con, sql) 11: dbGetQuery(con, sql) 12: doTryCatch(return(expr), name, parentenv, handler) 13: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14: tryCatchList(expr, classes, parentenv, handlers) 15: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <- strsp...
2019 Feb 24
1
stopifnot
...quot;) }) Current documentation says: Since R version 3.5.0, expressions are evaluated sequentially, and hence evaluation stops as soon as there is a "non-TRUE", asnindicated by the above conceptual equivalence statement. Further, when such an expression signals an error or warning, its conditionCall() no longer contains the full stopifnot call, but just the erroneous expression. I assume that "no longer contains ..." is supposed to be the effect of the use of 'withCallingHandlers' and 'tryCatch' in 'stopifnot'. Actually, "contains the full stopifnot cal...
2018 Sep 20
0
segfault issue with parallel::mclapply and download.file() on Mac OS X
...2: FUN(X[[i]], ...) > 3: lapply(X = S, FUN = FUN, ...) > 4: doTryCatch(return(expr), name, parentenv, handler) > 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) > 6: tryCatchList(expr, classes, parentenv, handlers) > 7: tryCatch(expr, error = function(e) { call <- conditionCall(e) if > (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) > call <- sys.call(-4L) dcall <- deparse(call)[1L] > prefix <- paste("Error in", dcall, ": ") > LONG <- 75LTraceback: > sm <- strsplit...