According to Hungerford's Algebra, a matrix representing a homomorphism $\phi\colon M\to N$ of left $R$-modules relative to a basis $(a_i)_m$ of $M$ and a basis $(b_i)_n$ of $N$ is an $m\times n$ matrix $(x_{ij})$ such that $x_{ij}$ is the unique element of $R$ for which we have $\phi(a_i) = x_{i1}b_1 + ... + x_{in}b_n$.
Blyth in his book Module Theory: An Approach to Linear Algebra reverses the order: for him the said matrix would be an $n\times m$ matrix $(x_{ij})$ where $x_{ij}$ is the unique element of $R$ such that $\phi(a_j) = x_{1j}b_1 + ... + x_{1n}b_n$.
What is the conventional definiton?
I don't know if there's a "correct" definition here; some papers have all groups act on the right, others all on the left.
The convention in linear algebra appears to be that a matrix representation of a linear transformation represents its input as a column vector. Matching that would make Blyth's definition more attractive.