Xlsx package is one of the powerful R packages to read, write and format Excel files. The different ways to connect R and Excel has been already discussed in our previous article. There are many solutions to import and export Excel files using R software.
Open and view the resulting Excel workbook Define some cell styles for formating the workbook
Create and format a nice Excel workbook.Simple R function to export quickly multiple data sets to the same Excel workbook.