He began to study medicine at Edinburgh in 1781, but after a few months moved to Cambridge, where he devoted himself to botany and chemistry.
V roce 1781 začal studovat medicínu v Edinburghu, ale po několika měsících přešel na Cambridge, kde vystudoval botaniku a chemii.