getDefinedNames-methods | R Documentation |
Retrieves the defined names in a workbook
.
## S4 method for signature 'workbook'
getDefinedNames(object, validOnly, worksheetScope)
object |
The |
validOnly |
If |
worksheetScope |
Optional - the name of the worksheet in which the names are scoped;
to only query names in the global scope, use the value |
If option XLConnect.setCustomAttributes
is TRUE
(default FALSE
),
a list of the worksheet scopes in which the names were found is set as attribute worksheetScope
on the result.
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
workbook
, createName
, removeName
,
existsName
, readNamedRegion
,
writeNamedRegion
## Not run:
# mtcars xlsx file from demoFiles subfolder of package XLConnect
mtcarsFile <- system.file("demoFiles/mtcars.xlsx", package = "XLConnect")
# Load workbook
wb <- loadWorkbook(mtcarsFile)
# Retrieve defined names with valid references
getDefinedNames(wb)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.