Giter Site home page Giter Site logo

Comments (5)

jeffreyhanson avatar jeffreyhanson commented on May 21, 2024

Hmm, that's strange. No, prioritizr stores everything in memory (with exception to file-backed raster data sets), so I don't think it's a temporary directory issue. I'm pretty busy at the moment, and I'll try to get to this when I can.

from prioritizr.

ricschuster avatar ricschuster commented on May 21, 2024

No worries Jeff. Its not at all urgent, but I thought I'd record the issue here as it is strange.

from prioritizr.

jeffreyhanson avatar jeffreyhanson commented on May 21, 2024

Loading the proto package seems to fix the problem on my system:

library(prioritizr)
library(proto)
load("temp.RData")
print(p1)

Does that work for you?

If so, one fix might be to move the proto package from Imports to Depends in the DESCRIPTION? The downside with this putting things in the Depends field is generally discouraged, but I think being able to save prioritizr objects is pretty important? It seems many of the packages using proto also put proto in the Depends, so maybe it really should be in the Depends? What do you think?

from prioritizr.

ricschuster avatar ricschuster commented on May 21, 2024

Thanks @jeffreyhanson. This fixes the issue on my system as well.

I agree, saving prioritzr objects is pretty important. I went ahead and did this with commit 34aad39

from prioritizr.

jeffreyhanson avatar jeffreyhanson commented on May 21, 2024

Awesome - thanks!

from prioritizr.

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.