Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Let $R$ be an integral domain. Let $f:X\rightarrow \mathrm{Spec}\,R$ be a flat proper morphism of schemes. Is it possible that $O_X(X)$ is not a flat $R$-module?