## Not run:
# data(iris)
# data(mtcars)
# xl.workbook.add()
# xlc$a1 = iris
# identical(crc[a1],xlc[a1:e151]) # should be TRUE
# identical(crc$a1,xlc[a1:e151]) # should be TRUE
# identical(crc$a1,xlc[a1]) # should be FALSE
#
# # current region will be cleared before writing - no parts of iris dataset
# crrc$a1 = mtcars
# identical(crrc$a1,xlrc[a1:l33]) # should be TRUE
#
# ## End(Not run)
Run the code above in your browser using DataLab