Giter Site home page Giter Site logo

Comments (1)

mpadge avatar mpadge commented on July 17, 2024

Thanks for asking @idshklein. This package is still under heavy development, so not really ready for "general consumption" just yet, and also not really documented at all. Short answer to your question is here:
https://github.com/ATFutures/m4ra/blob/b57c1cb9c921082d086c68aab883254369ffe13a/R/utils.R#L29-L39
So you just need to:

Sys.setenv ("M4RA_NUM_CORES" = 4) # or whatever

Note that everything really is designed to run in parallel, and running on single core, or even only a few, will generally take a long time to calculate. You also need to actively look at dynamic memory consumption, because depending on how big your GTFS feed is, the routines can require more memory than what is available.

Can I ask what you'd be using this for? I'd be happy to help further if it's an interesting project. It's currently being tested exclusively for my own purposes (mostly https://urbananalyst.city), but would be great to have a second use-case for testing.

from m4ra.

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.