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

> ### Name: RMixtComp-package
> ### Title: RMixtComp
> ### Aliases: RMixtComp-package
> ### Keywords: package
> 
> ### ** Examples
> 
> data(simData)
>  
> # define the algorithm's parameters: you can use createAlgo function
> algo <- list(nbBurnInIter = 100,
+              nbIter = 100,
+              nbGibbsBurnInIter = 50,
+              nbGibbsIter = 50,
+              nInitPerClass = 10,
+              nSemTry = 20,
+              confidenceLevel = 0.95)
> 
> # run RMixtComp for learning using only 3 variables
> resLearn <- mixtCompLearn(simData$dataLearn$matrix, simData$model$unsupervised[1:3], algo,
+                           nClass = 2:4)
====== Run MixtComp in learn mode with 1 run(s) per number of classes and 1 core(s)
Data: 200 individuals and 3 variables.
-- K = 2
starting worker pid=8191 on localhost:11244 at 21:58:11.322
Loading required package: RMixtCompIO
loaded RMixtCompIO and set parent environment
Start run 1 on thread number 8191

 *** caught segfault ***
address 3ffffff8, cause 'memory not mapped'

Traceback:
 1: rmc(algo, data, model, resLearn)
 2: eval(.doSnowGlobals$expr, envir = .doSnowGlobals$exportenv)
 3: eval(.doSnowGlobals$expr, envir = .doSnowGlobals$exportenv)
 4: doTryCatch(return(expr), name, parentenv, handler)
 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6: tryCatchList(expr, classes, parentenv, handlers)
 7: tryCatch(eval(.doSnowGlobals$expr, envir = .doSnowGlobals$exportenv),     error = function(e) e)
 8: (function (args) {    lapply(names(args), function(n) assign(n, args[[n]], pos = .doSnowGlobals$exportenv))    tryCatch(eval(.doSnowGlobals$expr, envir = .doSnowGlobals$exportenv),         error = function(e) e)})(base::quote(list(i = 1L)))
 9: do.call(msg$data$fun, msg$data$args, quote = TRUE)
10: doTryCatch(return(expr), name, parentenv, handler)
11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
12: tryCatchList(expr, classes, parentenv, handlers)
13: tryCatch(do.call(msg$data$fun, msg$data$args, quote = TRUE),     error = handler)
14: doTryCatch(return(expr), name, parentenv, handler)
15: tryCatchOne(expr, names, parentenv, handlers[[1L]])
16: tryCatchList(expr, classes, parentenv, handlers)
17: tryCatch({    msg <- recvData(master)    if (msg$type == "DONE") {        closeNode(master)        break    }    else if (msg$type == "EXEC") {        success <- TRUE        handler <- function(e) {            success <<- FALSE            structure(conditionMessage(e), class = c("snow-try-error",                 "try-error"))        }        t1 <- proc.time()        value <- tryCatch(do.call(msg$data$fun, msg$data$args,             quote = TRUE), error = handler)        t2 <- proc.time()        value <- list(type = "VALUE", value = value, success = success,             time = t2 - t1, tag = msg$data$tag)        msg <- NULL        sendData(master, value)        value <- NULL    }}, interrupt = function(e) NULL)
18: slaveLoop(makeSOCKmaster(master, port, setup_timeout, timeout,     useXDR))
19: parallel:::.slaveRSOCK()
An irrecoverable exception occurred. R is aborting now ...
Error in unserialize(socklist[[n]]) : error reading from connection
Calls: mixtCompLearn ... recvOneData -> recvOneData.SOCKcluster -> unserialize
Execution halted