title: RCurl getting through proxy (curl works)
body: <p>I'm having no joy getting through the corporate web proxy with RCurl.  </p>
  
  <p>I'm using R 3.1.2 and RCurl 1.95.4.5 on Windows 7.  I've researched the existing stackoverflow workarounds but none of them work.</p>
  
  <p>Here is my code which I expect to work :</p>
  
  <pre><code>curl &lt;- getCurlHandle()
  curlSetOpt(.opts = list(proxy = 'proxyIP:proxyPort',
                          proxyuserpwd = "domain\\username:password", 
                          proxyauth="ntlm" 
                         ), curl = curl)
  
  Res &lt;- getURL('http://yahoo.com', curl=curl)
  </code></pre>
  
  <p>After hitting this wall I tried with Curl to diagnose more.  I actually got the request working with Curl using this:</p>
  
  <pre><code>curl -x proxyIP:port --proxy-ntlm -U domain\username:password http://yahoo.com
  </code></pre>
  
  <p>I verified with curl (using -v) that NTLM was being used to authenticate.</p>
  
  <p>I don't understand why the RCurl options aren't working as I'm sure I've used the correct setting names. </p>
  
  <p>The error message I see in R is a 407 Proxy Authenticate page.</p>
  
  <p>Is this an RCurl bug?</p>