powered by
Converts Excel address to indexes and vice versa.
xl.index2address(top, left, bottom = NULL, right = NULL)xl.address2index(str.range)
xl.address2index(str.range)
integer top index of top-left cell
integer left index of top-left cell
integer bottom index of bottom-right cell
integer right index of bottom-right cell
character Excel range address
xl.index2address returns character address (e. g. A1:B150), xl.address2index returns vector with four components: top, left, bottom, right.
# NOT RUN { xl.address2index("A1:D150") xl.index2address(top=1, left=1) # } # NOT RUN { a1 %=xl% a1 a1 = iris addr = xl.binding.address(a1)$address xl.address2index(addr) # } # NOT RUN { # }
Run the code above in your browser using DataLab