On Mon, 14 Apr 2008, Tobias Verbeke wrote:
> Dear list,
>
> Is there an exact formula / safe rule of thumb that allows
> one to express the value of --max-ppsize as a function of
> the value of getOption("expressions") ?
There is none: it entirely depends on what you are doing.
But you would expect pp stack usage to be proportional to the number of
expressions, the problem being what the ratio should be.
The ratio of the defaults was empirically determined, and should be a good
guide.
However, if you find yourself increasing either then you probably want to
rethink how you do the calculations in R.
> ?options tells "If you increase it [the expressions option],
> you may also want to start R with a larger protection stack".
>
> Motivation is to determine stack size of a Java vm used
> to launch R with a given --max-ppsize option.
R's expression limit is only vaguely related to its C stack usage
(assuming you mean 'embed R' not 'launch R' -- it is processes
that get
launched in the OS world I inhabit).
>
> Many thanks in advance,
> Tobias
>
> --
>
> Tobias Verbeke - Consultant
> Business & Decision Benelux
> Rue de la r?volution 8
> 1000 Brussels - BELGIUM
>
> +32 499 36 33 15
> tobias.verbeke at businessdecision.com
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
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