I think this should also work:
We have the result that a bijective local homeomorphism between two spaces $X,Y$ is a global homeomorphism. We then show that a map $f:X\rightarrow Y$ with the given conditions is a bijective (given in the problem) , local homeomorphism.
Let's then show we get a local homeomorphism.
We select, for any x in $\mathbb R^n$, a closed ball $B(x,r)$;$r>0$ then
$f|_{B(x,r)}$ is a continuous bijection between the compact subset $B(x,r)$ and $f(B(x,r))\mathbb R^n$ Hausdorff (the restriction to $f(B(x,r))$ is Haudorff), is a homeomorphism.
Select , then, an open neighborhood $B^0(x,r)$ of $B(x,r)$. Then $f|_{B^0}$ is also
a homeomorphism, so you get an injective local homeomorphism $f:B^0\rightarrow f(B^o)$ between spaces X,Y, which
is a global homeomorphism. As Pete Clark said (If I understood well), you can repeat this argument when a closed, bounded subset is compact.