Learn R Programming

XLConnect (version 1.0.7)

print-methods: Print a workbook's filename

Description

Prints the workbook's underlying filename.

Usage

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

Arguments

x

The workbook to print

...

Arguments passed on to standard print

Author

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

Details

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

See Also

workbook

Examples

Run this code
if (FALSE) {
# 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)
}

Run the code above in your browser using DataLab