Fock space used in Quantum mechanic : how can we have direct sum of spaces of different dimensions?
I will answer your simple question about $\mathbb{R} \oplus \mathbb{R}^2 $.
That space is the set of ordered pairs $(x,v)$ where $x \in \mathbb{R}$ and $v$ is itself an ordered pair $(y,z) \in \mathbb{R}^2$ . You never add $x$ to $v$, although you can think of $$ (x,(y,z)) = (x, (0,0)) + (0, (y,z)). $$ The addition takes place in each component separately, just the way it does for $n$-tuples of numbers.
And, of course $\mathbb{R} \oplus \mathbb{R}^2 $ is naturally identified with $\mathbb{R}^3 $.
The $\oplus$ notation is historical, and in this context, unfortunately but understandably confusing. That may in fact be what puzzles the OP. The laws for exponents suggest that we should use a product here, not a sum. The addition makes sense only when we think of $\mathbb{R}$ and $\mathbb{R}^2 $ as the subspaces $\{(x,0,0)\}$ and $\{(0,y,z)\}$ of $\mathbb{R}^3 $. That is precisely the distinction between the internal and external direct sums @HenrySwanson discusses in his answer.
When someone says "direct sum", they mean one of two things, and it's usually clear from context. In particular, the internal direct sum requires a parent space, and the external one does not.
Internal: Let $V$ be a vector space, and $U$ and $W$ be subspaces of $V$. We say that $V$ is an (internal) direct sum of $U$ and $W$ if $U \cap W$ is trivial and $U + W = V$. For example, $V = \Bbb R^3$, $U$ is spanned by $(1, 0, 0)$ and $W$ is spanned by $(0, 1, 0)$ and $(1, 1, 1)$.
External: Let $U$ and $W$ be arbitrary vector spaces. Then $U \oplus W$, called the (external) direct sum of $U$ and $W$, is the space of pairs $\{ (u, w) \mid u \in U, w \in W \}$, where addition is defined componentwise.
These two notions are related as follows: let $V$ be a vector space, and $U$ and $W$ be subspaces. Then $V$ is the (internal) direct sum of $U$ and $W$ iff $V$ is isomorphic to the (external) direct sum of $U$ and $W$ (in a way respecting the inclusion of $U, W$ into $V$).