This function allows users to make multiple calls to RevBayes, while maintaining a
persistent input history. This means that variables defined in one call can be referenced in
another call, giving the feel of a continuous RevBayes session.
Because this function is the basis for repRev() and knitRev(), variables defined in RevBayes
with any of these functions can be referenced by any of the others.