Proof (Gauss's lemma)
Reducible in $R[X]$ $\implies$ reducible in $F[X]$
Suppose $f=gh$ where $g,h\in R[X]$ are not units in $R[X]$. Since $f$ is primitive, so are $g$ and $h$, so they have degree $>0$. Therefore $g$ and $h$ are not units are $F[X]$.
Reducible in $F[X]$ $\implies$ reducible in $R[X]$
Suppose $f=gh$ where $g,h\in F[X]$ are not units. "Clear denominators" by finding $a,b\in R$ such that $ag,bh\in R[X]$ (by say finding the LCM of the denominators of coefficients in $g,h$). Then $$ \begin{align*} abf = (ag) \, (bh). \end{align*} $$ Write $ag = c(ag) \, \tilde g$ and $bh = c(bh) \,\tilde h$ where $\tilde g, \tilde h\in R[X]$ are primitive. Now $$ \begin{align*} &abf = c(ag) \,c(bh)\,\tilde g \, \tilde h \tag{*}\\ \implies & ab\,c(f) = c(ag)\,c(bh)\,c(\tilde g \, \tilde h). \end{align*} $$ Since $f$ and $\tilde g\, \tilde h$ are primitive, their contents are units, so $$ \begin{align*} u\cdot ab = c(ag) \, c(bh) \end{align*} $$ for some unit $u$. Therefore substituting into $(*)$ and cancelling (since $R[X]$ is an integral domain) $$ \begin{align*} f = u \tilde g \tilde h, \end{align*} $$ where $\tilde g$ and $\tilde h$ are not units.