wb_open() provides a convenient interface to immediately view the contents
of a wbWorkbook object within a spreadsheet application. This function
serves as a high-level wrapper for xl_open(), allowing users to inspect
the results of programmatic workbook construction without explicitly
managing file paths.
Arguments
- wb
A wbWorkbook object to be previewed.
- interactive
Logical; determines if the file should be opened. When
NA(the default), it inherits the value frombase::interactive(). IfFALSE, a warning is issued and the file is not opened.- flush
Logical; if
TRUE, theflushargument is passed to the internal save call. This controls the XML processing method used when writing the temporary file. For a detailed discussion on the performance and memory implications of this parameter, seewb_save().
Value
The wbWorkbook object, invisibly.
