Technically the question was
prove that if $R^m$ $\cong$ $R^n$, then m=n.
My proof was basically considering the case m>n, then consider an isomorphism $\phi$, then the image of the basis of $R^m$ under $\phi$ must still be linearly independent, but $R^n$ has a rank of n which is less than m, which will make the images of the basis of $R^m$ linearly dependent, contradiction.
My professor's comment of my solution was "long answer but you've shown nothing".
I do not understand what exactly is he looking for or the "proper" solution. Can anyone help explain?
edit: R is commutative