[R] Rprintf and "C stack usage is too close to the limit"

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 13 08:21:51 CEST 2008

Rprintf is the right function, but this is the wrong list (please see the 
posting guide).  The issue is related to your 'C++ program', not to R 
itself and we have no details.  Non-R programming questions should go to 
R-devel, as the posting guide says.

On Thu, 12 Jun 2008, Youyi Fong wrote:

> Hi,
> I would appreciate if someone could comment on this problem I am
> experiencing. I am writing a C++ program to be called from R. In this
> program, there is a verbose switch that decides whether to print some
> debugging info using Rprintf. On windows, things work ok. On linux, things
> are fine in non-verbose mode, but in verbose mode, I get error saying "C
> stack usage is too close to the limit" after a few lines are printed.
> Is Rprintf the right function to use for showing message on R console? If
> yes, what should I do about the error message?
> Thank you very much in advance! This problem has been bugging me for a few
> days now.
> Youyi
> -- 
> Youyi Fong, Graduate Student, Department of Biostatistics
> University of Washington, Box 357232, Seattle, WA 98195
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> 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.

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