What is an example of an algebraic subset $C$ of $\mathbb{R}^2$ which is a topological retract of $\mathbb{R}^2$ but there is no an algebraci retraction $P:\mathbb{R}^2 \to C$? What is an example of such a situation in $\mathbb{C}^2$?