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

From: Youyi Fong <yfong_at_u.washington.edu>
Date: Thu, 12 Jun 2008 13:31:52 -0700


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.
Received on Thu 12 Jun 2008 - 22:26:55 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 - 07:30:46 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