I want to keep track of a large number of variables, and the only way to express them properly is as a fraction. Is there a way to typeset a variable as a fraction? For instance, I would like to do the following: $$\frac {\partial^2 R}{\partial u^2}=-\cos[v]\sin[u] \frac{\partial R}{\partial X}$$ Then I'd like to reference $\frac {\partial^2 R}{\partial u^2}$ as if it were a regular variable. For example:
$[Input] \frac {\partial^2 R}{\partial u^2} = 321.23;$
$[Input] \frac {\partial^2 R}{\partial u^2}$
$[Output] 321.23$