title: how to retrieve row names based on row number in R?
body: <p>For example, I have a row index vector i=(2,1,8), how to retrieve their corresponding row names from a data.frame?  Can't figure out.</p>
  
  <p>Thank you.</p>