Assuming obvious compatibility relations, here you have a morphism of functors $Hom(-,G) \rightarrow Hom(-,\mathbb{G}_m)$ (on the category of affine schemes over $k$). Now let $R = G$, and consider the image of the identity. This recovers your map $G\rightarrow \mathbb{G}_m$.
(This is basically Yoneda)