r5865