The story groups thinking went back to the 1977 original movie, when R2-D2 accessed the Empires mainframe as the heroes searched for the captured Princess Leia. We had the idea about R2 plugging into the information base of the Death Star, and thats how he was able to get the full map and find where the Jedi temples are, Arndt said.
Abrams says he chose to spell this out indirectly in the movie because he didnt want the story to get bogged down in how st happened 30 years ago.
But the idea was that in that scene where R2 plugged in, he downloaded the archives of the Empire, which was referenced by Kylo Ren, Abrams said. Thirty-eight years later, in both our own and galactic time, that data becomes useful in The Force Awakens when a new droid approaches the dormant R2.
BB-8 comes up and says something to him, which is basically, Ive got this piece of a map, do you happen to have the rest? Abrams said. The idea was, R2 who has been all over the galaxy, is still in his coma, but he hears this. And it triggers something that would ultimately wake him up.
The director acknowledges that R2s sudden awakening at the end was designed to be an emotional storytelling utility: While it may seem, you know, completely lucky and an easy way out, at that point in the movie, when youve lost a person, desperately, and somebody you hopefully care about is unconscious, you want someone to return.