A good next step is to try it in RStudio using your installed version of R. If its broken in RStudio, its a problem with the R build you are using .
Using RStudio, you can use the "Cstack_info()" function to doublecheck the Cstack information.
It is impossible for a working copy of R to not have this symbol defined as it is part of the initialization routines. For windows, the relavent portion of initialization code comes from src/gnuwin32/system.c:R_SetWin32
Using RStudio, you can use the "Cstack_info()" function to doublecheck the Cstack information.
It is impossible for a working copy of R to not have this symbol defined as it is part of the initialization routines. For windows, the relavent portion of initialization code comes from src/gnuwin32/system.c:R_SetWin32
...elided...
R_CStackStart = top;
R_CStackLimit = top - bottom;
}
R_CStackDir = 1;
R_Home = Rp->rhome;
if(strlen(R_Home) >= MAX_PATH) R_Suicide("Invalid R_HOME");
...elided...