This package contains some handy Rstudio gadgets.
You can install the version of gadgets from this repo.
library(devtools)
install_github("ginberg/gadgets")
After installation, the addin should be available in the 'Addins' widget in RStudio.
Select a text in your document or console and execute the Google search addin.