 He was educated at the Old Grammar School in Old Aberdeen, at the University of Aberdeen where he studied under William Geddes and gained his B.A.as Senior Classic in 1884, and at Emmanuel College, Cambridge where he graduated as M.A.in 1888.