Propose your Valentine with R

This post is dedicated to all the R programming lovers. It's not easy to impress tech-savvy valentine with conventional surprises.You might have tried all conventional surprises for your valentine. If your valentine is R programming lover, you can have an impact on her with your cool coding skill.
Propose your valentine with R

How to Use

Ask your valentine to run the following R program and see what you mean
paste(intToUtf8(acos(log(1))*180/pi-17),
      intToUtf8(atan(1/sqrt(3))*180/pi+2), toupper(substr(month.name[4],5,5)),
  intToUtf8(acos(exp(0)/2)*180/pi+2^4+3),toupper(substr(month.name[11],3,3)),
      LETTERS[3^2-2^2],intToUtf8(atan(1/sqrt(3))*180/pi+2),
      intToUtf8(acos(log(1))*180/pi-1), substr(month.name[10],1,1),
      intToUtf8(acos(log(1))*180/pi-5), sep = intToUtf8(0))

Don't tell your valentine what the program returns and make it a surprise.
Output

Best Online Course : Practical Data Science using R

- Explain Advanced Algorithms in Simple English
- Live Projects & Case Studies
- Domain Knowledge
- Job Placement Assistance
- Money Back Guarantee


R Tutorials : 75 Free R Tutorials

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has close to 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains like retail and commercial banking, Telecom, HR and Automotive.


While I love having friends who agree, I only learn from those who don't.

Let's Get Connected: Email | LinkedIn

Get Free Email Updates :
*Please confirm your email address by clicking on the link sent to your Email*

Related Posts:

22 Responses to "Propose your Valentine with R"

  1. getting an error

    Error in UseMethod("weekdays") :
    no applicable method for 'weekdays' applied to an object of class "c('double', 'numeric')"

    ReplyDelete
    Replies
    1. It seems R version issue. I have updated the code. It should work now. Thanks!

      Delete
  2. Replies
    1. It seems R version issue. I have updated the code. It should work now. Thanks!

      Delete
  3. I can't run it. I have next error:
    Error in UseMethod("weekdays") :
    no applicable method for 'weekdays' applied to an object of class "c('double', 'numeric')"

    ReplyDelete
    Replies
    1. It seems R version issue. I have updated the code. It should work now. Thanks!

      Delete
  4. Awesome. It is working for me. Yipeee :-)

    ReplyDelete
  5. Replies
    1. Updated the code. It should work now. See the snapshot of the output. I apologize for the inconvenience caused. Please confirm if it still does not work.

      Delete
  6. doesn't work, even with the new code

    ReplyDelete
    Replies
    1. Updated the code. It should work now. See the snapshot of the output. I apologize for the inconvenience caused. Please confirm if it still does not work.

      Delete
  7. All because of "I LOVE YOU" ? Anyway, it's interesting, but what if my crush is not using R? Well done.

    ReplyDelete
  8. The way to print those characters one by one using code conversion. I liked it.

    ReplyDelete
  9. thank you very much. very funny program.

    ReplyDelete
  10. it will certainly work in R-fiddle

    ReplyDelete
  11. Thank you, very cool; how can I customize it to add the name of a specific person?

    ReplyDelete

Next → ← Prev