Update mod_R.c

Version 1.2.4