Giter Site home page Giter Site logo

Comments (3)

jgabry avatar jgabry commented on June 20, 2024

Well done on a great tool.

Thanks, glad you like it!

Let's say the package is configured with rstan_create_package(), and installed (from GitHub) on several machines. The package is then updated to add a new model. Will installing the update require that all the existing models, which haven't changed between versions, be recompiled, or can this be avoided?

Unfortunately I'm not sure how to avoid that. I'm pretty sure that the functions for installing R packages from GitHub replace the entire package source code every time, so everything would need to get recompiled. In theory I could see it being possible to just replace the changed parts of the package when installing from GitHub but I'm not aware of a tool that does that at the moment. But maybe it exists and I just don't know about it.

from rstantools.

EoinTravers avatar EoinTravers commented on June 20, 2024

Thanks.
I guess the alternative would have to be a wrapper that compiles and saves a model the first time it's used, and loads the compiled version otherwise.

from rstantools.

andrjohns avatar andrjohns commented on June 20, 2024

Closing this as it can't be resolved by rstantools - there currently isn't a mechanism for only partially replacing installed R packages when updating/re-installing

from rstantools.

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.