title: How to load google trends package in R
body: <p>I want to use google trends in R but it won't even load the package. 
  I tried fixing it with a couple of solutions from similar posts:</p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/questions/16758129/error-in-loadnamespacename-there-is-no-package-called-rcpp">Error in loadNamespace(name) : there is no package called &#39;Rcpp&#39;</a></p></li>
  <li><p><a href="https://stackoverflow.com/questions/16501507/lib-unspecified-error-in-loadnamespace">lib unspecified &amp; Error in loadNamespace</a></p></li>
  </ol>
  
  <p>Here is the code:</p>
  
  <pre><code>&gt; install.packages(gtrendsR)
  Error in install.packages : object 'gtrendsR' not found
  &gt; install.packages("gtrendsR")
  Installing package into ‘C:/Users/Rafael/Documents/R/win-library/3.3’
  (as ‘lib’ is unspecified)
  trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/gtrendsR_1.3.4.zip'
  Content type 'application/zip' length 1067912 bytes (1.0 MB)
  downloaded 1.0 MB
  
  package ‘gtrendsR’ successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
  C:\Users\Rafael\AppData\Local\Temp\Rtmp4iqNMv\downloaded_packages
  &gt; library("gtrendsR")
  Error in loadNamespace(j &lt;- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘Rcpp’
  Error: package or namespace load failed for ‘gtrendsR’
  </code></pre>