Wish Christmas with R

Live Online Training : Data Science with R

- Explain Advanced Algorithms in Simple English
- Live Projects
- Case Studies
- Job Placement Assistance
- Get 10% off till Oct 26, 2017
- Batch starts from October 28, 2017

This post is dedicated to all the R Lovers...Flaunt your knowledge of R programming in your peer group with the following code and ask them to turn on computer speakers before running the code.
Wish Christmas with R

Turn on computer speakers before running the code.
christmas_file <- tempfile()
download.file("https://sites.google.com/site/pocketecoworld/merrychristmas1.wav", christmas_file, mode = "wb")
xmas <- load.wave(christmas_file)

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:

8 Responses to "Wish Christmas with R"

  1. Hi!
    Thank you for the post!
    Although I had troubles running the code on R Studio Mac. Some error with the URL.
    Any thoughts?
    Merry Christmas!

    1. What's the error message? Merry Christmas! :-)

  2. hi
    it is working supob, but can u please tell me how to play internal sons, like our movie songs, can u please share that

  3. hi
    what happend bro. can u please reply me

  4. Hi, Its throwing the following error-
    > library(audio)
    > christmas_file <- tempfile()
    > download.file("https://sites.google.com/site/pocketecoworld/merrychristmas1.wav", mode = "wb")
    Error in download.file("https://sites.google.com/site/pocketecoworld/merrychristmas1.wav", :
    argument "destfile" is missing, with no default
    > xmas <- load.wave(christmas_file)
    Error in load.wave(christmas_file) :
    unable to open file 'C:\Users\DOYEL~1.KAY\AppData\Local\Temp\RtmpiubV1u\file25fc3e74443a'
    > play(xmas)
    Error in play(xmas) : object 'xmas' not found
    Pls help

    1. Hi doyel,

      connect the internet and try its once again its working ok.

  5. i have this error... Error in play.default(x, rate, ...) : no audio drivers are available

  6. ğŸŽ„ğŸŽ‰ğŸŽ†ğŸŽ‡ğŸŽˆğŸŽğŸŽŠ


Next → ← Prev