sdfsubset will take a descriptor database generated by cmpparse and an array of indices and return an SDF string consisting of SDFs for compounds  - Information from www.rdocumentation.org