R: give warning if graph is in old format.