Assume such function $f$ exists.
Let $A=\mathbb R \setminus f^{-1}(0)$. From $ f(A) = \mathbb R \setminus \\{0\\}$ follows that $A$ is not uncountable, but is mapped subjectively to a uncountable set. A contradiction.
Assume such function $f$ exists.
Let $A=\mathbb R \setminus f^{-1}(0)$. From $ f(A) = \mathbb R \setminus \\{0\\}$ follows that $A$ is not uncountable, but is mapped subjectively to a uncountable set. A contradiction.