Talk:R4-P17/Legends

Is it known how R4 was in ROTS when the ship he was in blew up on Yavin in the Microseries? Did Anakin re-bulid him>