I am quite new in Gihub, despite knowing it for years and being such a help. So I will try to give you a proper example as I can.
library(miceRanger)
library(doParallel)
set.seed(1)
# Set up back ends.
cl <- makeCluster(3)
registerDoParallel(cl)
# Perform mice
parTime <- system.time(
miceObjPar <- miceRanger(
DATAFRAME,
valueSelector = "meanMatch",
m=4,
maxiter = 6,
num.threads = 7,
num.trees = 240,
parallel = TRUE,
verbose = FALSE
)
)
stopCluster(cl)
registerDoSEQ()
Error in miceRanger(RAY, valueSelector = "meanMatch", m = 4, maxiter = 6, :
Evaluation failed with error <Error in sample.int(length(x), size, replace, prob): primer argumento inválido
. This is probably our fault - please open an issue at https://github.com/FarrellDay/miceRanger/issues with a reproduceable example.
Timing stopped at: 0.06 0 2.27
How can I solve this? How can I search for the "first invalid argument"?
Thank you!!
I am quite new in Gihub, despite knowing it for years and being such a help. So I will try to give you a proper example as I can.
Error in miceRanger(RAY, valueSelector = "meanMatch", m = 4, maxiter = 6, :
Evaluation failed with error <Error in sample.int(length(x), size, replace, prob): primer argumento inválido
How can I solve this? How can I search for the "first invalid argument"?
Thank you!!