>install.packages('pingr')
>library('pingr')
>beep('fanfare')
呵呵,无意中发现R语言也能发出提示声。 :cool:
资料来源:Automated Data Collection with R - 第357页 (11.3.2 Error and exception handling)
Users have implemented more fun notification sounds in R. Be sure to check out the pingr package (see
https://github.com/rasmusab/pingr).