# Windows-specific example
XLGetRange(file="C:\My Documents\data.xls",
sheet="Sheet1",
range=c("A2:B5","M6:X23","C4:D40"))
# if the current region is to be read (inkl. a header), place the cursor in the interesting region
# and run:
d.set <- XLGetRange(header=TRUE)
Run the code above in your browser using DataLab