>An error I got

>

Error in -value : invalid argument to unary operator

The problem was that I had the following code

fcnName <<-- value

Check out the extra dash typo, since R gives you no line numbers with the errors it took me a bit to track this down. Note the double << makes the assignment global in scope.

Leave a comment