Movatterモバイル変換


[0]ホーム

URL:


StackOverflows {base}R Documentation

Stack Overflow Errors

Description

Errors signaled byR when stacks used in evaluation overflow.

Details

R uses several stacks in evaluating expressions: the C stack, thepointer protection stack, and the node stack used by the byte codeengine. In addition, the number of nestedR expressions currentlyunder evaluation is limited by the value set asoptions("expressions"). Overflowing these stacks orlimits signals an error that inherits from classesstackOverflowError,error, andcondition.

The specific classes signaled are:

Stack overflow errors can be caught and handled by exiting handlersestablished withtryCatch(). Calling handlers establishedbywithCallingHandlers() may fail since there may not beenough stack space to run the handler. In this case the next availableexiting handler will be run, or error handling will fall back to thedefault handler. Default handlers set bytryCatch("error") may also fail to run in a stackoverflow situation.

See Also

Cstack_info for information on the environment and theevaluation depth limit.

Memory andoptions for information on theprotection stack.


[Packagebase version 4.6.0Index]

[8]ページ先頭

©2009-2025 Movatter.jp