Infinite linearly independent set in finitely generated module

Let $R$ be a (commutative?) ring and let $M$ be a finitely generated $R$-module. Is it possible that $M$ admits an infinite linearly independent set? This question seems relevant, but it does not give an answer to my question. Thank you!