Code Monkey home page Code Monkey logo

Comments (4)

kvnkuang avatar kvnkuang commented on August 14, 2024

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.

martin-ueding avatar martin-ueding commented on August 14, 2024

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.

deto avatar deto commented on August 14, 2024

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.

kvnkuang avatar kvnkuang commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.