Update task.R

minor: an to and in description.
Merge pull request #8 from leilaz/patch-3

Simple documentation fix.  Looks good to me.