When I try to run this function I get the following error:
data <- read.xlsx(xlsxFile = MyFile, sheet = MySheet, skipEmptyRows = FALSE) Error in read.xlsx