powered by
saveAsExcel will save the grid as a Microsoft Excel file (.xlsx).
saveAsExcel
.xlsx
saveAsExcel(x, file, sheet = 1)
A repgrid object.
repgrid
Filename to save the grid to. The name should have the suffix .xlsx.
Index of the sheet to write to.
Invisibly returns the name of the file.
importExcel
# NOT RUN { x <- randomGrid(options=0) saveAsExcel(x, "grid.xlsx") # } # NOT RUN { # }
Run the code above in your browser using DataLab