fix crash with debugger on 64 bit R on Windows platforms