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

View source: R/export.r

saveAsExcelR Documentation

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)

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.

Value

Invisibly returns the name of the file.

See Also

importExcel()

Examples

## Not run: 

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

## End(Not run)


markheckmann/OpenRepGrid documentation built on April 14, 2024, 8:15 a.m.