R2-D2 Was in Star Trek Into Darkness about one hour, 17-minutes into the film. After the Vengeance fires on the Enterprise while the ships are in warp, R2 gets sucked out of the ship with other members of the crew.

Rafael Oca tweeted the following image

Source io9