 Born in Aberdeenshire, he was educated at the University of Edinburgh, where he graduated as a doctor of medicine in 1803.He went to London and was admitted a licentiate of the Royal College of Physicians in 1808.He chiefly devoted himself to letters, though, contributing to such works as "Encyclopædia Britannica" and "Edinburgh Review".