This is one of three limericks that we know were written about William Bell Scott, who published a variant version of the first two lines of this one in his
Autobiographical Notes (II. 188)
. See the commentary for the limerick “There's a foolish old Scotchman called Scotus” and the general commentary on DGR's limericks and their context.