print-methods: Print a workbook's filename

print-methodsR Documentation

Description

Prints the workbook's underlying filename.

Usage

## S4 method for signature 'workbook'
print(x,...)

Arguments

x

The workbook to print

...

Arguments passed on to standard print

Details

Prints the specified workbook's filename (see also the S4 filename slot of the workbook class).

Author(s)

Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch

See Also

workbook

Examples

## Not run: 
# Load existing demo Excel file 'mtcars.xlsx' from the XLConnect package
wb.mtcars <- loadWorkbook(system.file("demoFiles/mtcars.xlsx", 
                          package = "XLConnect"))

# Print the workbook's underlying filename
print(wb.mtcars)

## End(Not run)

XLConnect documentation built on Sept. 11, 2024, 8:04 p.m.