r plot cache