1

I have tried RCassandra and RJDBC but unfortunately it seems that these bindings work only with the old Cassandra 1.x. Is there any binding for Cassandra 2.x in R language?

fstab
  • 4,801
  • 8
  • 34
  • 66
  • 1
    [this](http://stackoverflow.com/questions/24272452/unable-to-connect-cassandra-through-r) might help – LyzandeR Dec 22 '14 at 15:25

1 Answers1

1

This is not true, the current version of RJDBC works with Cassandra 2.X.

Download latest release, with C* 2.x compatibility : cassandra-jdbc-2.1.1.jar

However there's one caveat that you have to also download the java dependencies and put them into your JAVA ClassPath (MacOS: /Library/Java/Extensions), otherwise you would encounter the painful Error in .jfindClass(as.character(driverClass)[1]) : class not found when initializing JDBC driver in R.

Include the Cassandra JDBC dependencies in your classpath : download dependencies

As of the RCassandra package, right now it's still too primitive compared to RJDBC.

Madcat
  • 379
  • 2
  • 7