title: How to read file.rar directly from website in R
body: <p>I wanted to download a file that zipped in open-plaques-all-2017-06-19.rar, but failed to implement it in R. Please have a look at my code below</p>
  
  <pre><code>temp &lt;- tempfile()
  
  download.file("https://github.com/tuyenhavan/Statistics/blob/master/open-plaques-all-2017-06-19.rar", temp)
  
  df&lt;- fread(unzip(temp, files = "open-plaques-all-2017-06-19.csv"))
  head(df)
  </code></pre>