[R] Stack overflow error while creating package

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Dec 6 18:25:02 CET 2005


I don't think this is C stack overflow.  His R is so old the message means
`protection stack overflow'.

The first action (as described in the posting guide) is indeed to update 
R, though.


On Tue, 6 Dec 2005, Martin Maechler wrote:

>>>>>> "manohar" == manohar  <kgmanohar at yahoo.com>
>>>>>>     on Tue, 6 Dec 2005 06:39:27 -0800 (PST) writes:
>
>    manohar> Hi all,
>    manohar> I am trying to build a package in R (ver 2.1.0, on a
>    manohar> PC).
>
> which I interpret that you are running Windows, right?
>
>    manohar> I am able to run package.skeleton successfully
>    manohar> and populate the different environments.
>    manohar> However, when I attempt to invoke the build (R CMD
>    manohar> BUILD), i get an error which says something like
>    manohar> protect(): Stack Overflow
>
> The NEWS for the current 'R 2.2.1 beta'
> (-> http://stat.ethz.ch/R-manual/R-patched/NEWS )
> has had a very prominent entry at the beginning (for many weeks now),
>
>>> USER-VISIBLE CHANGES
>>>
>>>    o	options("expressions") has been reduced to 1000: the limit
>>> 	of 5000 introduced in 2.1.0 was liable to give crashes from C
>>> 	stack overflow.
>
> (and actually, the crashes seemed to happen particurlary often
> on Windows)
>
>    manohar> I would appreciate if anyone could suggest a way to
>    manohar> get around this error message and help me build the
>    manohar> package.
>
> You can download the pretty new precompiled R-patched (as of today "R beta")
> versions for windows from your nearest CRAN mirror,
> newest via "Precompiled" -> "Windows" -> "base" and "r-patched snapshot build"
>
> Regards,
> Martin Maechler, ETH Zurich
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
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




More information about the R-help mailing list