title: Authorizing R to access data tables in BigQuery
body: <p>I need to access the datatables in BigQuery using R but am not able to. Has anyone been able to access tables in BigQuery via RStudio?</p>
  
  <p>I am successful in establising a connection using the following code but when trying to access the tables I get the error</p>
  
  <pre><code>bq_con &lt;- dbConnect(bigrquery::bigquery(),
  project  = "projectid",
  dataset = "datasetname"
  )
  </code></pre>
  
  <p>Error: Can't get Google credentials.
  Are you running bigrquery in a non-interactive session? Consider:
    * Call <code>bq_auth()</code> directly with all necessary specifics.</p>