Refining R markdown.