This is a ubiquitous epitaph, meaning "Rest in peace". It is analogous to the final words of the Latin requiem mass: "In pace requiescat." While real tombstones rarely have RIP engraved on them, cartoon ones always do.