When two identical batteries of internal resistance 1 Ω each are connected in series across a resistor R, the rate of heat produced in R is P1. When the same batteries are connected in parallel across R, the rate of heat produced is P2. If P1 = 2P2, then the value of R is