# $n$-th homotopy group of subsets of $\mathbb{R}^n$

Let $X$ be a compact, path-connected subset of $\mathbb{R}^n$. I need a reference for the fact that the $n$-th homotopy group $\pi_n(X)$ is trivial.

EDIT: Quite embarrassing. Indeed this is false, as the comment below indicates ($\pi_3(S^2)=\mathbb{Z}$). Should have thought more before posting the question.

-
This is not true (so it's hard to give a reference). For example, $S^2$ is a compact path-connected subset of $\mathbb{R}^3$ and $\pi_3(S^2) = \mathbb{Z}$. See also here. –  t.b. Nov 5 '11 at 9:22

Unless $n \leq 2$ this is not true and simple counterexamples are provided by the $(n-1)$-spheres $S^{n-1} \subset \mathbb{R}^{n}$ — which are path-connected and compact, of course.
The cases $n=0,1$ are trivial and for the case $n=2$ there's the following fact:
It turns out that for all subsets $X$ of the plane we have $\pi_{k}(X) = 0$ for $k \geq 2$ by a theorem of Andreas Zastrow (1998), available here.