How to read data from Cassandra with R?

后端 未结 5 921

I am using R 2.14.1 and Cassandra 1.2.11, I have a separate program which has written data to a single Cassandra table. I am failing to read them from R.

The Cassa

5条回答
  •  星月不相逢
    2020-12-09 10:48

    I had the same error message when executing Rscript with RJDBC connection via batch file (R 3.2.4, Teradata driver). Also, when run in RStudio it worked fine in the second run but not first.

    What helped was explicitly call:

    library(rJava)
    .jinit()
    

提交回复
热议问题