Cook R数据科学与R语言数据-R语言-图表-决策-Linux-Python

Play Sound

2018-08-28  本文已影响44人  Liam_ml

R语言中,当你想在程序运行完之后,发出一点声音提醒你,就可以这样玩:

beer::beep(sound = 2)
Usage

beep(sound = 1, expr = NULL)
Arguments

sound   
character string or number specifying what sound to be played by either specifying one of the built in sounds, specifying the path to a wav file or specifying an url. The default is 1. Possible sounds are:
1"ping"
2"coin"
3"fanfare"
4"complete"
5"treasure"
6"ready"
7"shotgun"
8"mario"
9"wilhelm"
10"facebook"
11"sword"
上一篇 下一篇

猜你喜欢

热点阅读