Having made no additional headway in debugging the apparent race condition in Statistics::R other than the delay workaround I proposed above, I would suggest you look into Omegahat's RSPerl interface. Installation is probably more painful that it needs to be, but it seems to be a solid performer.