title: oauth Handshake error using twitteR in R
body: <p>I have been trying to download some tweets from using the tweeteR package in R</p>
  
  <p>The code for my oauth credentials is</p>
  
  <pre><code>cred&lt;-AuthFactory$new(consumerKey=consumerKey,
  consumerSecret=consumerSecret,requestURL=reqURL,accessURL=accessURL,authURL=authURL)
  </code></pre>
  
  <p>When i try to run the following for handshake</p>
  
  <pre><code>cred$handshake(cainfo=system.file("CurlSSL","cacert.pem",package="RCurl"))
  </code></pre>
  
  <p>I am getting this error</p>
  
  <pre><code>Error in function (type, msg, asError = TRUE)  : 
  Could not resolve host: api.twitter.com; No data record of requested type
  </code></pre>
  
  <p>I am running the code in a windows machine. (I have included the code for downloading cacert.pem)</p>