Skip to content

RMixtComp does not work on windows 11 #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Quentin62 opened this issue Jun 21, 2023 · 0 comments
Open

RMixtComp does not work on windows 11 #47

Quentin62 opened this issue Jun 21, 2023 · 0 comments
Labels
bug Something isn't working MixtComp Concern the C++ library RMixtComp Concern the RMixtComp package RMixtCompIO Concern the RMixtCompIO package: R interface of the C++ library

Comments

@Quentin62
Copy link
Collaborator

Quentin62 commented Jun 21, 2023

When running the following code on windows 11, it crashes or the session must be stopped.
It does not happened on Linux.

The problem is the same with the examples from the documentation.
Those examples are tested by the CRAN on a windows server 2022 (see config), and it works. So it seems that the problem is related to windows 11.

Data: prostate.csv

data <- read.table("~/Téléchargements/prostate.csv", sep = ";", header = TRUE)
z = data[,1]
data = data[,2:13]
head(data)

library(RMixtComp)

model <- list(Age = "Gaussian", Wt = "Gaussian", PF = "Multinomial", 
              HX = "Multinomial", SBP = "Gaussian", DBP = "Gaussian", 
              EKG = "Multinomial", HG = "Gaussian", SZ = "Gaussian", 
              SG = "Gaussian", AP = "Gaussian", BM = "Multinomial")

algo <- list(nbBurnInIter = 50,
             nbIter = 100,
             nbGibbsBurnInIter = 50,
             nbGibbsIter = 10,
             nInitPerClass = floor(nrow(data)/2),
             nSemTry = 5,
             confidenceLevel = 0.95,
             ratioStableCriterion = 0.99,
             nStableCriterion = 10)

nClass <- 1
nRun <- 3
sink(file = "mc_output.txt")
res <- mixtCompLearn(data, model, algo, nClass = nClass, criterion = "ICL", nRun = nRun, nCore = 1)
sink(file = NULL)

image

alternatives on windows 11

@Quentin62 Quentin62 added bug Something isn't working RMixtComp Concern the RMixtComp package MixtComp Concern the C++ library RMixtCompIO Concern the RMixtCompIO package: R interface of the C++ library labels Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MixtComp Concern the C++ library RMixtComp Concern the RMixtComp package RMixtCompIO Concern the RMixtCompIO package: R interface of the C++ library
Projects
None yet
Development

No branches or pull requests

1 participant