I use the following code to connect orientDB using RJDBC
library(RJDBC)
drv <- JDBC("com.orientechnologies.orient.jdbc.OrientJdbcDriver","/Users/sofiaapreleva/programs/orien tdb-jdbc-1.7-all.jar", "`")
conn <- dbConnect(drv, "jdbc:orient:local:GratefulDeadConcerts",'admin','admin')
res<-dbGetQuery(conn, "select * from V")
I can see tables:
dbListTables(conn)
[1] "followed_by" "V" "ORIDs" "OUser" "OFunction" "OTriggered" "ORestricted" "E"
[9] "OIdentity" "ORole" "OSchedule"
But i am getting the error trying to get query command:
> res<-dbGetQuery(conn, "select * from V")
Error in .valueClassTest(standardGeneric("fetch"), "data.frame", "fetch") :
invalid value from generic function ‘fetch’, class “NULL”, expected “data.frame”
any suggestions on what I might do wrong..