问题集和方法荟萃

R提醒程序執行完成

R提醒程序執行完成 参看

一是beepr這個package,執行後電腦會發出聲音提醒你程式已經跑完。

library(beepr)
beep(sound=8)

You just have to wrap it into a function like this:

options(error = function() {beep(9)})

最终方案:

beep_on_error(expr, sound = 1)

blogdown 的文件位置和关系

具体参看 Adding and reading local data files in R Markdown posts

Hu Huaping
Hu Huaping
PhD on Agricultural Economic and Management

My research interests include Data Science, Statistics, Agricultural Economics and Management.