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]]
On May 22, 2007, at 5:33 AM, Ev Whin wrote:> 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.Are you using threads? If so, you have to disable the C stack limit (R_CStackLimit=-1), because threads may use a varying stack base. If you are not, you better check your code as you may be corrupting the stack. Cheers, Simon