Hi Dave,
I don,t know if James had a brother Robert. I have his parents as James McPhee & Agnes McCartney married the 31/12/1863 Monkton, Ayr. With a Agnes McCartney McPhee,b, 16/1/1867- William McPhee, b, 14/3/1869- Ellen King McPhee, b, 30/11/1872 & Isabella McPhee born about 1874. According to the 1881 Census it said his father was a widower.
Merry Xmas to you to Dave.
Scully