Checks the existence of a name in a
## S4 method for signature 'workbook' existsName(object, name)
The name to check for
TRUE if the specified
name exists and
otherwise. Note that the
name argument is vectorized and
therefore multiple names can be checked for existence in one method call.
Mirai Solutions GmbH https://mirai-solutions.ch
## Not run: # mtcars xlsx file from demoFiles subfolder of package XLConnect mtcarsFile <- system.file("demoFiles/mtcars.xlsx", package = "XLConnect") # Load workbook wb <- loadWorkbook(mtcarsFile) # Check if the name 'mtcars' exists # (should return TRUE since the name is defined as 'mtcars!$A$1:$K$33') existsName(wb, name = "mtcars") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.