title: R How to read a file from google drive using R
body: <p>I would like to read in R a dataset from google drive as the
  <a href="https://i.stack.imgur.com/EgnzB.png" rel="noreferrer">screenshot</a> indicated. </p>
  
  <p>Neither</p>
  
  <pre><code>url &lt;- "https://drive.google.com/file/d/1AiZda_1-2nwrxI8fLD0Y6e5rTg7aocv0"
  temp &lt;- tempfile()
  download.file(url, temp)
  bank &lt;- read.table(unz(temp, "bank-additional.csv"))
  unlink(temp)
  </code></pre>
  
  <p>nor</p>
  
  <pre><code>library(RCurl)
  bank_url &lt;- dowload.file(url, "bank-additional.csv", method = 'curl')
  </code></pre>
  
  <p>works.</p>
  
  <p>I have been working on this for many hours. Any hints or solutions would be really appreciate.</p>