Revert "r-sample"

This reverts commit b15702c21a464e64f0b1a9654a650eaa5b4a4fc6.