Learn R Programming

OpenRepGrid (version 0.1.16)

saveAsExcel: Save grid in a Microsoft Excel file (.xlsx)

Description

saveAsExcel will save the grid as a Microsoft Excel file (.xlsx).

Usage

saveAsExcel(x, file, sheet = 1)

Value

Invisibly returns the name of the file.

Arguments

x

A repgrid object.

file

Filename to save the grid to. The name should have the suffix .xlsx.

sheet

Index of the sheet to write to.

See Also

importExcel()

Examples

Run this code
if (FALSE) {

x <- randomGrid(options = 0)
saveAsExcel(x, "grid.xlsx")
}

Run the code above in your browser using DataLab