Description Usage Arguments Value See Also Examples
Count or list sheet names in Excel spreadsheet files.
1 2 | sheetCount(xls, verbose = FALSE, perl = "perl")
sheetNames(xls, verbose = FALSE, perl = "perl")
|
xls |
File path to spreadsheet. Supports "http://", "https://", and "ftp://" URLS. |
verbose |
If |
perl |
Path to perl interpreter. |
sheetCount
returns the number of sheets in the spreadsheet.
sheetNames
returns the names of sheets in the spreadsheet.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | xlsfile <- system.file("xls", "iris.xls", package = "gdata")
xlsfile
sheetCount(xlsfile)
exampleFile <- file.path(path.package('gdata'),'xls',
'ExampleExcelFile.xls')
exampleFile2007 <- file.path(path.package('gdata'),'xls',
'ExampleExcelFile.xlsx')
sheetCount(exampleFile)
if( 'XLSX' %in% xlsFormats() ) # if XLSX is supported..
sheetNames(exampleFile2007)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.