Step 1: Acid-base view
The O-H of methanol is acidic enough to protonate the carbanion-like $R^-$.
Step 2: Product
$R^-$ becomes $R-\text{H}$, an alkane, and magnesium alkoxide is left.
Step 3: Eliminate
Alkene, ether and ester need a carbon-carbon or carbon-oxygen bond forming step, which does not happen here.
Final Answer:
The hydrocarbon formed is an alkane.
\[ \boxed{\text{(A) }\text{Alkane}} \]