title: Downloading csv from URL
body: <p>I want to directly download the csv file from given URL = "<a href="https://stooq.pl/q/d/l/?s=alr&amp;d1=20190404&amp;d2=20190411&amp;i=d" rel="nofollow noreferrer">https://stooq.pl/q/d/l/?s=alr&amp;d1=20190404&amp;d2=20190411&amp;i=d</a>"</p>
  
  <p>When I run this in chrome explorer then I get the csv file with data downloaded. But when I run this with R code I get EMPTY csv file download.</p>
  
  <pre class="lang-r prettyprint-override"><code>url = "https://stooq.pl/q/d/l/?s=alr&amp;d1=20190404&amp;d2=20190411&amp;i=d"
  download.file(url)
  </code></pre>
  
  <p>Expected: file with data<br>
  Results: EMPTY FILE <code>Content type 'text/html' length 0 bytes downloaded 0 bytes</code></p>