|
R语言条件处理和恢复conditionMessage.condition()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:conditionMessage.condition()
R语言函数功能:条件处理和恢复
来自资源库:基础库(R语言自带)
conditionMessage.condition()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
These functions provide a mechanism for handling unusual conditions, including errors and warnings.
这些功能提供了一种用于处理异常情况(包括错误和警告)的机制。
使用方法-----Usage-----
tryCatch(expr, ..., finally)
withCallingHandlers(expr, ...)
globalCallingHandlers(...)
signalCondition(cond)
simpleCondition(message, call = NULL)
simpleError (message, call = NULL)
simpleWarning (message, call = NULL)
simpleMessage (message, call = NULL)
errorCondition(message, ..., class = NULL, call = NULL)
warningCondition(message, ..., class = NULL, call = NULL)
## S3 method for class 'condition' S3 method for class 'condition'
as.character(x, ...)
## S3 method for class 'error' S3 method for class 'error'
as.character(x, ...)
## S3 method for class 'condition' S3 method for class 'condition'
print(x, ...)
## S3 method for class 'restart' S3 method for class 'restart'
print(x, ...)
conditionCall(c)
## S3 method for class 'condition' S3 method for class 'condition'
conditionCall(c)
conditionMessage(c)
## S3 method for class 'condition' S3 method for class 'condition'
conditionMessage(c)
withRestarts(expr, ...)
computeRestarts(cond = NULL)
findRestart(name, cond = NULL)
invokeRestart(r, ...)
tryInvokeRestart(r, ...)
invokeRestartInteractively(r)
isRestart(x)
restartDescription(r)
restartFormals(r)
suspendInterrupts(expr)
allowInterrupts(expr)
.signalSimpleWarning(msg, call)
.handleSimpleError(h, msg, call)
.tryResumeInterrupt()
参数- |
|