Comments (4)
Hi Martin,
Is it possible to provide me with a piece of code that would trigger this behaviour? And on what platform?
Thanks,
Kevin
from pbmcapply.
I have tried it during the past two weeks and I also found the problem with parallel::mclapply
. The thing seems to happen most of the time (if not always) when using the boot
packages which works with the random number generator. Perhaps that leads to a race condition.
If I manage to come up with a reproducible example, I will come back to this issue, otherwise I would consider it just invalid.
from pbmcapply.
Not sure if this was ever figured out, but I was having the same issue today.
Oddly, it only occurred when running my script in non-interactive mode - which it looks like just passes the computation to 'mclapply'. However, if I just substituted mclapply in my code, then it worked just fine (no NULLs).
This all occurred using version 1.3.0 of the package and was fixed when I upgraded to 1.3.1. No idea why the changes between those versions would have caused/fixed this, but I just wanted to mention it and the details around this in case it shows up for other people.
from pbmcapply.
Thanks for keeping us updated.
I am not sure how it was solved either since I didn't have code that will reproduce this bug. Maybe it was fixed because I slightly changed how non-vector objects are handled. Or it could be that the maintainers of the parallel
package fixed it recently.
Anyway, I am glad it's fixed 😄
from pbmcapply.
Related Issues (20)
- mc.preschedule HOT 2
- progressBar() error after the 5/11/2018 update HOT 2
- Width calculation problems for short and long durations HOT 8
- Execution cannot be interrupted with Ctrl-C HOT 8
- provide a pbmcapply version of apply (not only mapply and lapply) HOT 3
- Object 'mcinteractive' not found HOT 9
- pbmclapply hangs if cores is undefined HOT 8
- Address "cannot wait for child %d as it does not exist" warning HOT 4
- pbmclapply slow down HOT 5
- not supported by MRO? HOT 1
- pbmcapply not showing in Rscript mode HOT 3
- Execution cannot be interrupted with Ctrl-C since ignore.interactive was added HOT 1
- reproducibility
- progressBar(max=0): throws error on 'missing value where TRUE/FALSE needed'
- Custom progress bar?
- If warning, return of pbmclapply has different return format if length of X is 1 HOT 1
- pbmclapply fails to return list where lapply, pbapply, and mclapply have no issue
- learning resources for possible contributor
- Issue with differing behaviour from mcapply
- WISH: Option for outputting progress bar to standard error (stderr)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pbmcapply.