You should put your symbol format definitions in another TeX file; publications tend to have their own styles, and some may use With lualatex real symbol.

\R is not a predefined command, you need to define it yourself if you want to use it as a shortcut. \newcommand{\R}{\mathbb{R}}. Thus.

Just a note: One normally represents the sets of natural numbers, integers, rational numbers, real numbers, and complex numbers by bold.