Skip to content

error: contextstack overflow

2 messages · mahmoudfarid30 at yahoo.com, John Kane

#
Dear r users
I've a loop that has 20 if else statements but it gave me the ""contextstack overflow"" error at statement 14 
Is there any way to overcome this problem cause i'm forced to do that loop 
any help or recommendations please
#
I've never seen the error mentioned before but see Brian Ripley's post https://stat.ethz.ch/pipermail/r-help/2008-March/157341.html. It looks like you are exceeding a limit.

We probably should see some sample code and data. 

Please have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html  for some suggestions on what to include in a question.

John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!