complete R markdown file