From ripley at stats.ox.ac.uk  Fri Jun  1 11:58:11 2007
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 1 Jun 2007 10:58:11 +0100 (BST)
Subject: [Rd] Question on the R's C stack limit
In-Reply-To: <dfed1c180706010244g4dc0c55fg4d86c9c21504ab3e@mail.gmail.com>
References: <dfed1c180706010244g4dc0c55fg4d86c9c21504ab3e@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.0706011052200.1015@gannet.stats.ox.ac.uk>

On Fri, 1 Jun 2007, Ev Whin wrote:

> Dear r-devel members,
>    I encountered a C stack limit issue, when I tried to embed R 2.5 into my
> application. In the R-exts document, it says:"Note that R's own front ends
> use a stack size of 10Mb". I desire to know: is it possible to decrease this
> stack size
> by modifying R's source code? If it's possible, which part of the source
> code is responsible for the issue?

You have picked that out of the Windows-specific documentation without 
saying you are on Windows (are you?).  The setting is in 
src/gnuwin/front-ends, unsurprisingly.  (In the Makefile, to be exact.)

> Thank you all.
>
> Whin
>
> 	[[alternative HTML version deleted]]

Please don't send HTML: see the posting guide.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Question on the R's C stack limit
Prof Brian Ripley