It's not often used, but you can define right scalar multiplication of a matrix $M=(m_{ij})_{i,j}$ with a scalar $\lambda$ as $M\cdot \lambda := (m_{ij}\lambda)_{i,j}$. This is equal to $\lambda\cdot M$ in any commutative ring, such as $\mathbb{R}$.
It's not often used, but you can define right scalar multiplication of a matrix $M=(m_{ij})_{i,j}$ with a scalar $\lambda$ as $M\cdot \lambda := (m_{ij}\lambda)_{i,j}$. This is equal to $\lambda\cdot M$ in any commutative ring, such as $\mathbb{R}$.