title: Connecting R to Hive using JDBC
body: <p>I am trying to connect R to Hive cluster using RJDBC package.</p>
  
  <p>The code I have written is:</p>
  
  <pre><code>drv &lt;- JDBC(driverClass = "org.apache.hive.jdbc.HiveDriver", 
          classPath = list.files("C:/hive-jdbc/hive-jdbc-0.10.0.jar",
                                 pattern="jar$",full.names=T),
          identifier.quote="'")
  </code></pre>
  
  <p>I have added "C:/hive-jdbc" to my system path variable as well.</p>
  
  <p>But I am getting the following error:</p>
  
  <pre><code>Error in path.expand(unlist(strsplit(classPath, .Platform$path.sep))) : 
    invalid 'path' argument
  </code></pre>
  
  <p>Can some one help me with this?</p>