Running examples in ‘spacom-Ex.R’ failed
The error most likely occurred in:

> ### Name: MLSpawExactOutput-class
> ### Title: Class '"MLSpawExactOutput"'
> ### Aliases: MLSpawExactOutput-class AIC,MLSpawExactOutput-method
> ###   BIC,MLSpawExactOutput-method fixef,MLSpawExactOutput-method
> ###   print,MLSpawExactOutput-method ranef,MLSpawExactOutput-method
> ###   show,MLSpawExactOutput-method summary,MLSpawExactOutput-method
> ###   VarCorr,MLSpawExactOutput-method
> ### Keywords: classes spatial
> 
> ### ** Examples
> 
> ## Perform MLSpawExact
> 
> ## Import and prepare data (see details in MLSpawExact)
> 
> data(traces_ind)
> traces_ind <- traces_ind[,-7]
> traces_ind <- na.exclude(traces_ind)
> data(traces_event)
> ## Don't show: 
> traces_event=traces_event[seq(1, nrow(traces_event), by=100),]
> ## End(Don't show)
> data(homog_census)
> data(d_geo)
> 
> ## Step 1: Create spatial weights
> geow.100 <- WeightMatrix(d_geo, bandwidth=100)
> 
> ## Step 2: Create spatially weighted contextual indicators
> aggregate <- SpawAggregate(contextual.data=traces_event,
+                            context.id="area.name",
+                            contextual.names='w_all',
+                            contextual.weight.matrices=geow.100,
+                            aggregation.functions="weighted.mean",
+                            design.weight.names="weight",
+                            nb.resamples=0)

 *** caught segfault ***
address 56020008, cause 'memory not mapped'

Traceback:
 1: (function (n) {    if (existsInFrame(n, envenv))         envenv[[n]]    else {        e <- mkenv()        envenv[[n]] <- e        key <- env[[n]]        data <- lazyLoadDBfetch(key, datafile, compressed, envhook)        parent.env(e) <- if (!is.null(data$enclos))             data$enclos        else emptyenv()        list2env(data$bindings, e)        if (!is.null(data$attributes))             attributes(e) <- data$attributes        if (!is.null(data$isS4) && data$isS4)             .Internal(setS4Object(e, TRUE, TRUE))        if (!is.null(data$locked) && data$locked)             .Internal(lockEnvironment(e, FALSE))        e    }})("env::7")
 2: exists(name, inlineHandlers, inherits = FALSE)
 3: getInlineHandler(name, info$package)
 4: tryInline(call, cb, cntxt)
 5: cmpCall(e, cb, cntxt)
 6: cmp(e, cb, cntxt)
 7: genCode(e, cntxt)
 8: comp(expr, env = envir, options = list(suppressUndefined = TRUE))
 9: e$fun(obj, substitute(ex), parent.frame(), e$data)
10: foreach(slice = iterator, column = 1:max(obj@nb.resamples, 1),     .inorder = TRUE) %do% {    frame <- performAggregation(contextual.names = obj@contextual.names,         context.id = obj@numeric.context.id, nb.area = obj@nb.area,         nb.analyses = obj@nb.analyses, design.weight.names = obj@design.weight.names,         contextual.data = obj@contextual.data[slice, ], aggregation.functions = obj@aggregation.functions,         contextual.weight.matrices = obj@contextual.weight.matrices,         additional.args = obj@additional.args)    fillAggregationResults(frame, column)    if (obj@verbose) {        elapsed.time <- proc.time()[3] - start.time        cat("\rcomputed step ", column, " of ", obj@nb.resamples,             ". ETA = ", as.integer((obj@nb.resamples/column -                 1) * elapsed.time))    }    NULL}
11: performSpawAggregate(input.obj)
12: SpawAggregate(contextual.data = traces_event, context.id = "area.name",     contextual.names = "w_all", contextual.weight.matrices = geow.100,     aggregation.functions = "weighted.mean", design.weight.names = "weight",     nb.resamples = 0)
An irrecoverable exception occurred. R is aborting now ...