Does this work in R?

  • Comments posted to this topic are about the item Does this work in R?

  • Why 42?

  • nice and easy. Thanks Steve.
    Just curious, why 42 πŸ™‚?

  • I'm curious about 42 because the only number I can see is 24.  I got it wrong I was wondering what the catch was.


    On two occasions I have been asked, "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" ... I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
    β€”Charles Babbage, Passages from the Life of a Philosopher

    How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537

  • 24 -> x

    What does this do?

    This assigns the value of 42 to x

    How does it translates it? Does it mirror or reverse?

  • RoNoS - Wednesday, April 26, 2017 1:40 AM

    24 -> x

    What does this do?

    This assigns the value of 42 to x

    How does it translates it? Does it mirror or reverse?

    Or is it simply a typo?

  • Confused me too.

  • twin.devil - Wednesday, April 26, 2017 12:36 AM

    nice and easy. Thanks Steve.
    Just curious, why 42 πŸ™‚?

    Because it's the answer to life, the universe and everything, obviously.

  • Typo! 24 or 42?

  • edwardwill - Wednesday, April 26, 2017 2:53 AM

    twin.devil - Wednesday, April 26, 2017 12:36 AM

    nice and easy. Thanks Steve.
    Just curious, why 42 πŸ™‚?

    Because it's the answer to life, the universe and everything, obviously.

    Thanks for Shed a light on me πŸ˜‰

  • It is just a typo. The explanation show the correct syntax 42 -> x.

  • edwardwill - Wednesday, April 26, 2017 2:53 AM

    twin.devil - Wednesday, April 26, 2017 12:36 AM

    nice and easy. Thanks Steve.
    Just curious, why 42 πŸ™‚?

    Because it's the answer to life, the universe and everything, obviously.

    In that case, wouldn't there be multiple correct answers?

  • Possible reasons for 24...
    1. Steve is a Jeff Gordon fan.
    2. Steve is a Chase Elliot fan.
    3. His eyes were crossed when he wrote the question after first verifying the answer. 
    4. Steve is a Richard Petty fan, but forgot that The King drove mostly with number 43 on his car and in his confusion transposed the numbers on the question after getting it wrong in the answer.
    5. Steve wanted to blow up the comment thread on today's question.

  • Today it's pretty funny. Answer # 4 probably belongs to the humor category, or it is indicative of the very good mood and fantasy of the author at the time of its composition.πŸ˜‰
    Anyway thanks for this question, Steve.

  • I don't get how finding this statement in R

    24 -> x

    could possibly result in assigning 42 to x. Its 24, not 42. Is there some sort of math formula involved in the assignment operator?

    Kindest Regards, Rod Connect with me on LinkedIn.

Viewing 15 posts - 1 through 15 (of 21 total)

You must be logged in to reply to this topic. Login to reply