DOC: show users how to emulate R c function with iloc slicing and r_
Merge pull request #6499 from cpcloud/r-slicing-with-c

DOC: show users how to emulate R c function with iloc slicing and r_