Error : Expressions nested beyond limit (256)

Error : Expressions nested beyond limit (256)

book

Article ID: KB0080938

calendar_today

Updated On:

Products Versions
Spotfire S+ All supported versions

Description

When running an involved function you get Error : Expressions nested beyond limit (256)


 

Environment

Product: TIBCO Spotfire S+ Version: All supported versions OS: All supported operating systems --------------------

Resolution

The error you received, "Expressions nested beyond limit" indicates that S-PLUS was trying to evaluate some very deeply nested functions.  There is a built-in limit (the default is 256), designed mainly to catch runaway recursive calls that would otherwise consume all memory and crash S-PLUS.  We suggest increasing the nesting limit.  This can be done by setting:

options(expressions=500)

This will increase the limit to 500 nested calls and should resolve your problem.

You can read more about the options() function by typing at a command prompt:

>?options

Issue/Introduction

Error : Expressions nested beyond limit (256)