Monte Carlo and discrete-event simulations in C and R | IEEE Conference Publication | IEEE Xplore