Step 1: Concept
According to the Biot-Savart law, a straight wire segment produces zero magnetic field at any point along its axis.
Step 2: Meaning
The two straight sections point directly toward or away from the center $O$, so their contribution is $B_{straight} = 0$.
Step 3: Analysis
Only the semicircular arc contributes to the field at $O$.
Magnetic field of a full circle at center $= \frac{\mu_0 I}{2R}$.
Magnetic field of a semicircle $= \frac{1}{2} \times \frac{\mu_0 I}{2R} = \frac{\mu_0 I}{4R}$.
Step 4: Conclusion
The total magnetic field is $\frac{\mu_0 I}{4R}$.
Final Answer: (A)