Code Monkey home page Code Monkey logo

Comments (7)

rkrug avatar rkrug commented on July 26, 2024

Based on among others https://community.rstudio.com/t/running-parallel-on-mac/142580/6, I have set OBJC_DISABLE_INITIALIZE_FORK_SAFETY in environ to YES:

Sys.getenv("OBJC_DISABLE_INITIALIZE_FORK_SAFETY")
[1] "YES"

But no change.

from httr.

hadley avatar hadley commented on July 26, 2024

httr has been superseded by httr2, so no further development work will happen. I'd recommend giving httr2::req_perform_parallel() a go since it does parallel requests in a way that actually works (i.e. using curl's parallel request facilities).

from httr.

rkrug avatar rkrug commented on July 26, 2024

Thanks - I'll look into httr2. Although httr2::req_perform_parallel() is unfortunately an option, as the call ia=s in a package.

from httr.

hadley avatar hadley commented on July 26, 2024

Why isn't it an option?

from httr.

rkrug avatar rkrug commented on July 26, 2024

It is not my package....

from httr.

rkrug avatar rkrug commented on July 26, 2024

And also, parallel calls can cause problems due to API restrictions of that specific api - so it needs to be handled with care.

from httr.

hadley avatar hadley commented on July 26, 2024

Oh got it.

from httr.

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.