isdir, rmdir, and .Rd files