The work done to raise a mass $m$ from the surface of the earth to a height $h$, which is equal to the radius of the earth, is:
A $mgR$
B $2\,mgR$
C $\frac{1}{2}mgR$
D $\frac{3}{2}mgR$