Add  .r script and resulting .pdf