Royal Bank of Scotland, which is based in Edinburgh and is in the middle of a large restructuring plan, has not posted an annual profit since 2007.