Let $R$ be a commutative Noetherian ring and $U$ be an open subscheme of the affine- scheme $X=\text{Spec}(R)$ such that $\Gamma_U(\mathcal O_U)\cong R$.
If $\mathcal E, \mathcal F$ are quasi-coherent $\mathcal O_U$-sheaves, then is it true that $$\Gamma_U\left(\mathcal Hom_{\mathcal O_U}(\mathcal E, \mathcal F ) \right)\cong \text {Hom}_R (\Gamma_U(\mathcal E),\Gamma_U(\mathcal F))$$ ?