Update R example to parameterize the project

Now the user has to provide their project ID, so they shouldn’t get an
access denied by default.

Also updates the readme to reflect the new usage and add a small
troubleshooting section.