Re: [R-pkg-devel] R_CStackLimit and OpenMP for CRAN Packages

2016-08-03 Thread Jonathan Lisic
After about a three hour slog through my code I was able to track down and eliminate any non-essential function calls. The function call removal significantly decreased the stack size, removing the requirement for R_CStackLimit bound to be changed. Thanks, Jonathan Lisic > On Aug 3, 2016, a

[R-pkg-devel] R_CStackLimit and OpenMP for CRAN Packages

2016-08-03 Thread Jonathan Lisic
Hi, I just had a CRAN rejection due to setting R_CStackLimit = (uintptr_t)-1 , e.g Found non-API call to R: ‘R_CStackLimit’. This stack limit change is done to avoid stack overruns when I use OpenMP with C. Are there other ways around this issue? or should I just accept the large performanc