Skip to content
Prev 293906 / 398503 Next

number of Excel worksheets

On Mon, May 7, 2012 at 8:54 PM, Santosh <santosh2005 at gmail.com> wrote:
Ensure that perl is on your path, put sheetCount.pl and
module-tools.pl from the gdata .tar.gz source file
(http://cran.r-project.org/package=gdata) in the current directory and
then try the counterpart to this R command (which no longer requires
gdata):

as.numeric(system("perl sheetCount.pl myfile.xls", intern = TRUE))