Question: DirichletMultinomial Package Not Functioning
gravatar for amgodogma
12 weeks ago by
amgodogma10 wrote:

Hi again

I've been using the DirichletMultinomial package perfectly for the last couple of years and its been amazing so thank you to the devs.

However, recently I've been getting an error when I run the following command:

fit.all <- mclapply(1:7, dmn, count=count, verbose=TRUE)

The error I've been getting is:

Warning message:
In mclapply(1:7, dmn, count = count, verbose = TRUE) :
  all scheduled cores encountered errors in user code

If anyone has encountered this or knows how to fix this I'd really appreciate it?

thanks so much Imran

R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux

Matrix products: default
BLAS: /gpfs/share/apps/R/3.5.1/lib64/R/lib/
LAPACK: /gpfs/share/apps/R/3.5.1/lib64/R/lib/

 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C

attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets
[8] methods   base

other attached packages:
[1] xtable_1.8-4                lattice_0.20-38
[3] DirichletMultinomial_1.24.1 IRanges_2.16.0
[5] S4Vectors_0.20.1            BiocGenerics_0.28.0

loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1    grid_3.5.1
dirichletmultinomial dmn • 116 views
ADD COMMENTlink modified 12 weeks ago by Martin Morgan ♦♦ 23k • written 12 weeks ago by amgodogma10
Answer: DirichletMultinomial Package Not Functioning
gravatar for Martin Morgan
12 weeks ago by
Martin Morgan ♦♦ 23k
United States
Martin Morgan ♦♦ 23k wrote:

I'd suggest debugging this by replacing mclapply() with lapply().

fit.all <- lapply(1:7, dmn, count=count, verbose=TRUE)
ADD COMMENTlink written 12 weeks ago by Martin Morgan ♦♦ 23k

Thanks Martin. That helped me identify the problem, 0s!!!

ADD REPLYlink written 12 weeks ago by amgodogma10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 189 users visited in the last hour