R software, Writing research papers