[Rd] The R.dll problem

Simon Urbanek simon.urbanek at r-project.org
Tue May 22 18:10:20 CEST 2007


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



More information about the R-devel mailing list