[R] Last

Val valkremk at gmail.com
Sun Apr 17 15:43:04 CEST 2016


Hi all,

I am trying to read data from a particular  excel sheet.

library(xlsx)
dat1=read.xlsx("las.xlsx", sheetIndex = 5)

I know that this is sheet is the last one and this number grows over time

When I run my script to read the last sheet then I have to change this
number every time manually.

Is it possible to read the last sheet of an excel file?
Thank yo in advance
Val

	[[alternative HTML version deleted]]



More information about the R-help mailing list