The former Bonnyrigg Rose boss had been in charge at Shielfield since August 2017 but left the club after Saturday's 3-0 defeat to Ladbrokes League 2 leaders Edinburgh City at Ainslie Park.
A club statement read: "The club wish to put on record its sincere appreciation for Robbie’s efforts and absolute dedication to the cause, which has unfortunately impacted upon his health.
"The club would like to wish Robbie every success in the future and put on record that he will always be welcome at Shielfield Park."