完成代码执行后的电子邮件(或类似内容)通知 [英] E-mail (or similar) notification when code execution is finished
问题描述
我目前正在R中进行多个模拟,每个模拟都需要花费很长时间才能执行,并且每个模拟完成的时间因情况而异.为了更有效地利用两者之间的时间,我想知道是否有可能设置一些东西(例如电子邮件通知系统或类似的东西),以便在完成大量模拟后立即通知我.
I am currently doing several simulations in R that each take quite a long time to execute and the time it takes for each to finish varies from case to case. To use the time in between more efficiently, I wondered if it would be possible to set up something (like a e-mail notification system or similar) that would notify me as soon a a chunk of simulation is completed.
这里有人在设置类似内容方面有任何经验吗,或者有人知道可以教我通过R实现通知系统的资源吗?
Does somebody here have any experience with setting up something similar or does someone know a resource that could teach me to implement a notification system via R?
推荐答案
I recently saw an R package for this kind of thing: pushoverr. However didn't use it myself - so not tested how it works. But seems like it might be useful in your case.
这篇关于完成代码执行后的电子邮件(或类似内容)通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!