DirichletMultinomial Package Not Functioning
1
1
Entering edit mode
amgodogma ▴ 10
@amgodogma-12973
Last seen 5.4 years ago

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 • 1.2k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 4 months ago
United States

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

fit.all <- lapply(1:7, dmn, count=count, verbose=TRUE)
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 537 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6