title: Setting "an informative User-Agent string" in getURL
body: <p>I am trying to access a Wikipedia page so to get a list of pages, and get the following error:</p>
  
  <pre><code>library(RCurl)
  u &lt;- "http://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&amp;prefix=tal&amp;namespace=4"
  getURL(u)
  [1] "Scripts should use an informative User-Agent string with contact information, or they may be IP-blocked without notice.\n"
  </code></pre>
  
  <p>I hope to get to that page through the Wikipedia api, but <a href="https://stackoverflow.com/questions/9056497/how-to-get-the-result-of-all-pages-with-prefix-using-wikipedia-api">I am not sure it would work</a>.</p>
  
  <p>And the thing is that other pages are read without problem, for example:</p>
  
  <pre><code>u &lt;- "http://en.wikipedia.org/wiki/Wikipedia:Talk"
  getURL(u)
  </code></pre>
  
  <p>Any suggestions?</p>
  
  <p>Side note: In general I would rather to not scrape wiki pages and go through the api, but I fear that this specific pages are not yet available through the api...</p>