He received a good common-school education, entering the University of Glasgow, Scotland in 1782 and graduated in 1786.
He received a standard liberal arts education, starting at the University of Glasgow, Scotland in 1782 and finishing his degree in 1786.