Code Monkey home page Code Monkey logo

Comments (7)

tengfei avatar tengfei commented on August 21, 2024

Just look at the qtour.R file, dest is a field defined in a reference class, need to use <<- to change it, so the warning message can be fixed by change the line 65 dest[[col]] <- data_proj[, col] to dest[[col]] <<- data_proj[, col]

from cranvas.

hadley avatar hadley commented on August 21, 2024

Weird, my comment didn't add. But I don't think that fix is correct. I think that error is a spurious warning and we should just ignore for now.

from cranvas.

tengfei avatar tengfei commented on August 21, 2024

That fix works for me when install cranvas, all other fields in Tourr ref class is assigned by <<-, I mean I always came across some similar warnings like that when I forget to use a "<<- " on the field variable. So that fix is just my guess on that.

from cranvas.

hadley avatar hadley commented on August 21, 2024

Yes, it won't make an error any more, but does the code still work?

from cranvas.

tengfei avatar tengfei commented on August 21, 2024

It's the first time I try those examples in qtourr-ex, by the way, I don't know we have such a nice demo. I tried the example before and after change to <<-, they all works for single plots, but they all gave errors for multiple plots, I don't know how it handles multiple plots, because in the example, three print function has been put in between the step function and start, only the first one, the qparallel, works on my laptop, other two plots don't get update at the same time. This issues exists even before the change. So I am not sure if the fix produce any problems on the tour demo, or it's just an issue produced some where else. Please change it back if it does affect the demo somehow, because I have already commited the change on this one one hour ago......

from cranvas.

dicook avatar dicook commented on August 21, 2024

It shouldn't matter that there are three print statements running three different tour displays. They were working a couple of days ago. I'll check them again.

On May 25, 2011, at 7:13 PM, tengfei wrote:

It's the first time I try those examples in qtourr-ex, by the way, I don't know we have such a nice demo. I tried the example before and after change to <<-, they all works for single plots, but they all gave errors for multiple plots, I don't know how it handles multiple plots, because in the example, three print function has been put in between the step function and start, only the first one, the qparallel, works on my laptop, other two plots don't get update at the same time. This issues exists even before the change. So I am not sure if the fix produce any problems on the tour demo, or it's just an issue produced some where else. Please change it back if it does affect the demo somehow, because I have already commited the change on this one one hour ago......

Reply to this email directly or view it on GitHub:
#22 (comment)


Di Cook
[email protected]

from cranvas.

dicook avatar dicook commented on August 21, 2024

I don't see this error message anymore. I think I can close this issue.

from cranvas.

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.