fix r completions in cpp mode
Merge pull request #248 from rstudio/bugfix/r-code-model-in-cpp-mode

fix r completions in cpp mode