Re: [R] Make R 'Beep'

From: Alaios <alaios_at_yahoo.com>
Date: Tue, 29 Mar 2011 02:00:34 -0700 (PDT)


Tried it !
Worked ! Thanks a lot

> From: Jim Lemon <jim_at_bitwrit.com.au>
> Subject: Re: [R] Make R 'Beep'
> To: "Alaios" <alaios@yahoo.com>
> Cc: R-help_at_r-project.org
> Date: Tuesday, March 8, 2011, 10:14 AM
> On 03/08/2011 09:01 PM, Alaios
> wrote:
> > Dear all,
> > I would like to ask you if R can produce any kind of
> sound. It would be useful when code execution stops R to
> notify me by playing some sound.
> >
> >
> > Is that possible in R?
> >
> Hi Alex,
> You can add a line at the end of your script like this:
>
> system('sap /usr/share/twinkle/ringtone.wav')
>
> where "sap" is a command line audio player and
>   "usr/share/twinkle/ringtone.wav"
> is a sound file. You will probably want to use another
> sound player and
> sound file.
>
> Jim
>
>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 29 Mar 2011 - 09:02:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Mar 2011 - 11:00:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive