In 1894 Ritchie left Oxford on being appointed professor of logic and metaphysics at the University of St. Andrews.
D. G. Ritchie was a founding member, and the third President (1898-1899), of the Aristotelian Society, an influential academic organisation that is still very much in active existence.