I think I have Robert on 1851 as
Robert Cunningham gson 4 Douglas
and on 1861 as
Robert Spenston gson 14 Ag Lab Douglas
He would seem to be the son of Mary Gilmour (daughter of Daniel Gilmour)
Mary Gilmour marries Robert Cunningham in 1849 (as a spinster)
Daniel Gilmour is my 3x great grandfather.