RE: [Rd] Very Long Expressions

From: Luke Tierney <luke_at_stat.uiowa.edu>
Date: Wed 26 Jan 2005 - 07:09:50 EST

On Mon, 24 Jan 2005, Thomas Lumley wrote:

> On Mon, 24 Jan 2005, Prof Brian Ripley wrote:
>
> > On Mon, 24 Jan 2005, McGehee, Robert wrote:
> >
> > [Instructions to the R developers deleted.]
> >
> >> Secondly, the ?options help (thanks for everyone who reminded me about
> >> this), says that expressions can have values between 25...100000.
> >>
> >> However, if the original example is set past 4995 on my computers, I
> >> receive a stack overflow.
> >
> > More accurately, you caused a protection stack overflow.
> >
>
> At one point we were concerned about overflowing the C stack if
> options(expressions=) were set too high. I think this was in the days
> when MacOS had a very small stack, and that things are safer now.
>
>
> -thomas

I hadn't noticed that they finally kicked the default up to 8M--good.

We still need to be a bit careful since running out of C stack will cause a protection violation and there is no portabmle way to catch this. But we can probably afford to loosen the defaults a bit.

luke

-- 
Luke Tierney
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
   Actuarial Science
241 Schaeffer Hall                  email:      luke@stat.uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Jan 26 06:22:24 2005

This archive was generated by hypermail 2.1.8 : Wed 26 Jan 2005 - 07:23:35 EST