Re: [R] How can we ring a bell in Windows?

From: Gabor Grothendieck <>
Date: Tue 08 Mar 2005 - 03:44:03 EST

Lu Joseph <c_joseph_lu <at>> writes:

: Hello useRs,
: Is there a way to write code in R
: to ring a bell in Windows?

Here are two ways:


system("sndrec32 /play /close c:/windows/media/ding.wav")

The second way uses Windows Sound Recorder to play the ding.wav file on my XP system and which may or may exist in the same location on other versions of Windows. mailing list PLEASE do read the posting guide! Received on Tue Mar 08 04:17:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:41 EST