To create an Excel file in R, we need to use a package called "openxlsx". Follow the below steps to create an Excel file in R:
main.r29 chars2 lines
main.r18 chars2 lines
main.r92 chars2 lines
main.r68 chars3 lines
main.r35 chars2 lines
main.r55 chars2 lines
This will create an Excel file named "myExcelFile.xlsx" in your working directory with the required data.
gistlibby LogSnag