spell check in Rstudio
RStudio does not have an as-you-type spell checker; you'll have to invoke spell checking manually. To do this, go to the Edit menu and choose Check Spelling, or press F7.
Note that spell checking is not performed on code files, only on document files (i.e. you won't get spell checking an .R file, but you will in an .Rmd file).
I recently spotted live, on-the-fly spell checking in OSX v.1.3.118 and later, which can be downloaded from https://dailies.rstudio.com/