r-package: delete