Scottish Pet Name for Robert, from Old German "bright fame".
Rab is believed to be more popular in Scotland than Bob, although both are frequently used.