Question: DirichletMultinomial Package Not Functioning
1
gravatar for amgodogma
4 weeks ago by
amgodogma10
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/libRblas.so
LAPACK: /gpfs/share/apps/R/3.5.1/lib64/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=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 • 76 views
ADD COMMENTlink modified 4 weeks ago by Martin Morgan ♦♦ 23k • written 4 weeks ago by amgodogma10
Answer: DirichletMultinomial Package Not Functioning
0
gravatar for Martin Morgan
4 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 4 weeks ago by Martin Morgan ♦♦ 23k

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

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

Help
Access

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