I changed that line of code to what you have shown. I also did a check for any alias r. There is none in any of the scripts I have loaded.
Still getting the same error.