[R] error: contextstack overflow

John Kane jrkrideau at inbox.com
Wed Apr 13 03:30:46 CEST 2016


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


> -----Original Message-----
> From: r-help at r-project.org
> Sent: Tue, 12 Apr 2016 23:42:56 +0000 (UTC)
> To: r-help at r-project.org
> Subject: [R] error: contextstack overflow
> 
> 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
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!



More information about the R-help mailing list