renjin
renjin copied to clipboard
Fix #448: Transform global variables in stats package
This extends the GlobalVarRewriter to automatically transform the remaining global variables in C and Fortran code in the stats package to use Session-scoped values so that it can be safely called from multiple threads.
The performance impact needs to be evaluated before merging.