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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri, 13 Jun 2008 07:21:51 +0100 (BST)

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

______________________________________________
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.
Received on Fri 13 Jun 2008 - 06:25:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 Jun 2008 - 06:30:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive