Juan Martin Del Potro drew first blood in Group B at the ATP World Tour Finals at the O2 Arena in London with a tense victory over Richard Gasquet.