我不明白之间的差别System.ServiceProcess.ServiceProcessInstaller和System.ServiceProcess.ServiceInstaller.从元数据:第一个安装可执行文件,第二个安装一个类.在阅读MSDN的示例后,其中有一个ServiceProcessInstaller和两个具有不同ServiceName的ServiceInstaller,我完全丢失了.
有明确的解释吗?
我想从上一个错误中清除当前的R会话,以便下一次调用geterrmessage()将为空.
例:
> stop('halt !')
Error: halt !
> geterrmessage()
[1] "Error: halt !\n"
> something_that_cleans_the_last_error
> geterrmessage()
[1] ""
Run Code Online (Sandbox Code Playgroud)
谢谢