This is a very basic question about definitions, but I haven't been able to find the answer to it online. If we let $\mathscr{A}$ be an Abelian category, then for any object $A\in\mathscr{A}$, we can define the Hom functor $\mathrm{Hom}_\mathscr{A}(A,-)$.
What category does this take values in? I know that it can take values in $\mathbf{Ab}$, but in the case where $\mathscr{A}=R\hbox{-}\mathbf{Mod}$, the functor seems to take values in $\mathscr{A}$. Which convention holds in general?