Further in Empire Strikes Back, neither Yoda nor Darth Vader recognizes either droid. Luke travels with R2-D2 to the Dagobah where they find Yoda. Yoda's relationship with R2-D2 is not on the same level with the same characters. Perhaps, the old creature simply forgot.