made range inclusive in RSearch; added missing doco