Skip to content

contextstack overflow

4 messages · Gisela Sturm, Brian Ripley

#
On Mon, 17 Mar 2008, Gisela Sturm wrote:

            
There are limits, and they are quite high -- it is far more likely that 
you have an error in your R code.

In this particular case, it is saying that you have more than 50 nested 
parse contexts -- that is nested if, [, [[, {, ( calls.

I find it helpful to use a syntax-aware editor (e.g. ESS) as that will 
highlight these things for you via indentation patterns.
#
with
handle
There are limits, and they are quite high -- it is far more likely that 
you have an error in your R code.

In this particular case, it is saying that you have more than 50 nested 
parse contexts -- that is nested if, [, [[, {, ( calls.

I find it helpful to use a syntax-aware editor (e.g. ESS) as that will 
highlight these things for you via indentation patterns.
#
On Mon, 17 Mar 2008, Gisela Sturm wrote:

            
Yes, by recompiling R, but you need to write your code in a more modular 
way.