Skip to content

Evaluation failed with error in MiceRanger #22

@bluepassereaux

Description

@bluepassereaux

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions