• Paste chrome://settings/searchEngines into your location bar and hit return/enter
  • Scroll down until the input boxes show, enabling you to add a search engine
  • For “Add a new search engine” put “CRAN
  • For “Keyword” put “R” (or “CRAN“, but “R” is super easy to type :-)
  • For “URL with %s in place of query” put the following:

(you may be able to trim that URL a bit, if desired)

Save that and then in the Chrome location bar hit R then [TAB] and you’ll be sending the query to a custom Google search that only looks on CRAN (specifically the @RStudio CRAN mirror).

Source: [r-bloggers]