Could you check if you can run R snippets in general.
Then make sure you have the latest version of R set up and running following these hints: