Sir Robert William Hamilton (26 August 1867 – 5 July 1944) was a Scottish Liberal Party politician and Chief Justice of the East Africa Protectorate.
He was educated at St Paul's School and Trinity Hall, Cambridge, and was called to the Bar at Inner Temple.
Smith declared himself a supporter of Lloyd George's Coalition Government and sought re-election in 1922 as a National Liberal Party candidate.
At the 1929 General election he was re-elected with a bigger majority; He served as a Parliamentary delegate to South Africa in 1924, to Canada in 1928 and to Iceland in 1930.
He became Parliamentary Under-Secretary of State for the Colonies in the National Government in September 1931, working under the Conservative Philip Cunliffe-Lister.