[guided]The goal of this step is to make the scalar extension $K \otimes_R R^n$ completely explicit. The vectors $e_1, \dots, e_n \in R^n$ are the standard basis vectors, where $e_i$ has $1_R$ in the $i$th coordinate and $0_R$ elsewhere.
Define
\begin{align*}
g: K \times R^n \to K^n
\end{align*}
by
\begin{align*}
g(a,(r_1, \dots, r_n))=(a r_1, \dots, a r_n).
\end{align*}
This formula uses the homomorphism $\iota: R \to K$ to view each $r_i \in R$ as an element $\iota(r_i)$ of the field $K$. To pass from a formula on pairs to a map on the tensor product, we must verify the balancing relation. The map $g$ is additive in both variables by distributivity in $K$. If $r \in R$ and $v=(r_1,\dots,r_n) \in R^n$, then
\begin{align*}
g(a\iota(r),v)=(a\iota(r)\iota(r_1),\dots,a\iota(r)\iota(r_n))=g(a,rv).
\end{align*}
Thus $g$ is $R$-balanced. By the defining universal property of the tensor product $K \otimes_R R^n$, there is a unique additive map
\begin{align*}
\alpha: K \otimes_R R^n \to K^n
\end{align*}
satisfying
\begin{align*}
\alpha(a \otimes (r_1, \dots, r_n))=(a\iota(r_1), \dots, a\iota(r_n))
\end{align*}
for all $a \in K$ and $r_1,\dots,r_n \in R$. We also need $\alpha$ to be $K$-linear. If $c \in K$, $a \in K$, and $v \in R^n$, then scalar multiplication on $K \otimes_R R^n$ gives $c(a \otimes v)=(ca)\otimes v$. Applying the formula defining $\alpha$ gives $\alpha(c(a \otimes v))=c\alpha(a \otimes v)$. Since pure tensors generate $K \otimes_R R^n$ as an abelian group, this proves that $\alpha$ is $K$-linear.
Now define the candidate inverse
\begin{align*}
\beta: K^n \to K \otimes_R R^n
\end{align*}
by
\begin{align*}
\beta(a_1, \dots, a_n) = \sum_{i=1}^n a_i \otimes e_i.
\end{align*}
This map reconstructs a tensor from its $n$ scalar coordinates. It is $K$-linear because the tensor product is additive in the first variable and because scalar multiplication on $K \otimes_R R^n$ is defined on the first tensor factor: for $c \in K$ and $(a_1, \dots, a_n),(b_1, \dots, b_n) \in K^n$,
\begin{align*}
\beta((a_1, \dots, a_n)+(b_1, \dots, b_n)) = \beta(a_1, \dots, a_n)+\beta(b_1, \dots, b_n)
\end{align*}
and
\begin{align*}
\beta(c(a_1, \dots, a_n)) = c\beta(a_1, \dots, a_n).
\end{align*}
We check the two compositions. First, for $(a_1, \dots, a_n) \in K^n$,
\begin{align*}
(\alpha \circ \beta)(a_1, \dots, a_n) = \alpha\left(\sum_{i=1}^n a_i \otimes e_i\right).
\end{align*}
By $K$-linearity of $\alpha$, this equals
\begin{align*}
\sum_{i=1}^n \alpha(a_i \otimes e_i) = (a_1, \dots, a_n).
\end{align*}
Thus $\alpha \circ \beta = \operatorname{id}_{K^n}$.
Conversely, take a pure tensor $a \otimes (r_1, \dots, r_n) \in K \otimes_R R^n$. In $R^n$ we have the standard basis decomposition
\begin{align*}
(r_1, \dots, r_n) = \sum_{i=1}^n r_i e_i.
\end{align*}
Using additivity of the tensor product in the second variable and the balancing relation $a \otimes r_i e_i = a\iota(r_i) \otimes e_i$, we get
\begin{align*}
a \otimes (r_1, \dots, r_n) = \sum_{i=1}^n a \otimes r_i e_i = \sum_{i=1}^n a\iota(r_i) \otimes e_i.
\end{align*}
Therefore
\begin{align*}
(\beta \circ \alpha)(a \otimes (r_1, \dots, r_n)) = \beta(a\iota(r_1), \dots, a\iota(r_n)) = \sum_{i=1}^n a\iota(r_i) \otimes e_i.
\end{align*}
The previous computation shows that this is exactly $a \otimes (r_1, \dots, r_n)$. Since every element of $K \otimes_R R^n$ is a finite sum of pure tensors, the equality holds on all of $K \otimes_R R^n$. Hence $\alpha$ and $\beta$ are inverse $K$-linear isomorphisms, so
\begin{align*}
K \otimes_R R^n \cong K^n.
\end{align*}[/guided]