As it is only for milliseconds the power dissipated by the resistor (old wylex RCDs are somewhere in the region of 1.8KΩ) is very low, it shouldn't get chance to warm up. It is only when it the RCD fails that the resistor gets toasty and bad things happen.