When the wire is bent and twisted, the two halves (each with resistance R/2) are effectively connected in parallel. The equivalent resistance is $R_{eq} = (R/2 \times R/2) / (R/2 + R/2) = (R^2/4) / R = R/4$.