R, Excel, Function, Pivot Tables.
common scenario is creating a new spreadsheet file with each table written to a separate sheet. The steps are as follows. Use createWorkbook to create a workbook object in R, named diamond.wb, and add three sheets to it using addWorksheet. The three sheets are called my sheet 1 to 3 (you can call