Robert Hamilton FRSE (19 April 1763 – 13 December 1831) was a Scottish advocate and close friend of Sir Walter Scott.
Enjoying boat trips and other excursions together, Scott termed him Our Lord High Admiral Hamilton in his diaries.
In 1796 he purchased (sic) from Allan Maconochie, Lord Meadowbank the chair of Professor of Public Law at the University.
He never lectured, as was standard in this role at that time, which was largely titular, but held it until death, receiving £200 per annum for the title.
In 1804 he married Janet Hamilton Anderson (died 1871), whose stepmother had been Sir Walter Scott’s childhood sweetheart.