« Redistribution through Taxes and Charity: The Cost of 'Compassionate Conservatism' to the Secular Poor | Main | Then We Came to the End »

October 17, 2007

Make R beep

Yu Sung says: Just type alarm() or cat("\a").

Posted by Andrew at October 17, 2007 5:36 PM

RSS feed for this entry.

Trackback Pings

TrackBack URL for this entry:
http://www.stat.columbia.edu/~cook/movabletype/mt-tb.cgi/1223

Comments

Wow. Just wow.

Posted by: Boris S. [TypeKey Profile Page] at October 18, 2007 3:48 PM.

Sad to say, this doesn't seem to work on Macs. I'll have to try it on a different computer...

Posted by: Juli at October 18, 2007 5:28 PM.

To Juli,

How about this:

library(tcltk)
tkbell()

Posted by: Yu-Sung at October 19, 2007 1:38 AM.

On a Mac: system("say yo!")

Posted by: David at October 19, 2007 2:51 AM.

Fantastic :D :D

Posted by: Andy at October 20, 2007 1:38 PM.

Post a comment




Remember Me?

(you may use HTML tags for style)