Ahsoka as she is now, would reluctantly destroy R2 if it got in the way. Galen would destroy R2 simply because it is working for the enemy.