[Rd] How to disable R's C stack checking

2007-07-06 Thread Ev Whin
Hi all, I'm developing an application on Mac OS X Darwin which embeds R. However, the application always crashes due to the C stack checking. I know that R_CStackLimit can be set to -1 to disable the stack checking, but I don't know where to put the code R_CStackLimit=-1. Please give some

[Rd] Question on the R's C stack limit

2007-06-01 Thread Ev Whin
Dear r-devel members, I encountered a C stack limit issue, when I tried to embed R 2.5 into my application. In the R-exts document, it says:Note that R's own front ends use a stack size of 10Mb. I desire to know: is it possible to decrease this stack size by modifying R's source code? If it's

[Rd] question about R_ParseVector function

2007-05-29 Thread Ev Whin
Hi r-devel, The R_ParseVector has been changed in R-2.5.0, and there is a simple description about the 4th argument at http://stat.ethz.ch/R-manual/R-patched/NEWS, it says that: R_ParseVector() has a new 4th argument 'SEXP srcfile' allowing source references to be attached to the returned

[Rd] The R.dll problem

2007-05-22 Thread Ev Whin
Hi r-devel, I've linked my windows application to the R.dll following the instructions from the R documents, however, my application always encounters C stack limit. Do anyone know why and how to fix this? Thank you very much! [[alternative HTML version deleted]]

[Rd] R 2.5.0 building problem

2007-05-18 Thread Ev Whin
Hi, While I was trying to build R 2.5.0 src on Red Hat Enterprise Linux ES release 4 (Nahant Update 4) Kernel 2.6.9-42.ELsmp on an x86_64 The following errors occurred: gcc -std=gnu99 -shared -L/usr/local/lib64 -o lapack.so Lapack.o -L../../../lib -lRlapack -L../../../lib -lRblas -lg2c -lm