XLConnect (version 1.0.2)

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

Details

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

See Also

'>workbook

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataCamp Workspace