error cmd tap R