I'll expand on Derek Holt's [comment][1], which answers your question. Suppose one has a group $G$ of the type you describe, so that finitely generated subgroups are generated by $r$ elements and have exponent $n$. Consider a finitely generated subgroup $K< G$. By the [restricted Burnside problem][2], there is a universal constant $R(r,n)$ such that $|K|\leq R(r,n)$. Now, choose the largest size subgroup $K< G$ which is finitely generated. Since $K$ is finite and $G$ is infinite, there exists $g\in G-K$ such that $K < \langle K, g\rangle <G$ is finitely generated, so $\langle K, g\rangle$ must be finite. But since $|K|$ is maximal, we have $K=\langle K,g\rangle$, so $g\in K$, a contradiction. 


  [1]: https://mathoverflow.net/posts/comments/310537
  [2]: https://en.wikipedia.org/wiki/Burnside_problem#Restricted_Burnside_problem