From this post it seems that proving $\mathbb{R}^n$ isn't homeomorphic to $\mathbb{R}^m$ for $m \neq n$ is not elementary:
It is very elementary to show that $\mathbb{R}$ isn't homeomorphic to $\mathbb{R}^m$ for $m>1$: subtract a point and use the fact that connectedness is a homeomorphism invariant.
Along similar lines, you can show that $\mathbb{R^2}$ isn't homeomorphic to $\mathbb{R}^m$ for $m>2$ by subtracting a point and checking if the resulting space is simply connected. Still straightforward, but a good deal less elementary.
WLOG we can assume $m<n$. When $m=2$, can I subtract a line and prove the result using the fact that connectedness is a homeomorphism invariant.
Generally can I just subtract a “$m-1$ dimensional line” $\{(a_1, \dots,a_{m-1},0)\mid a_i\in\mathbb R\}$ and done the proof?
I am aware that things cannot be such simple, but I can not find where I’m wrong.
Thanks for your help.