R-connector for communicating with a SiriDB Database
install.packages('siridbr')
library(siridbr)
siridb <- SiriDB(
user="iris", # database user
password="siri", # password
dbname="dbtest", # database name
server="localhost", # server address
port=9000L # server port
)
siridb$connect(function(err) {
# success: err is NULL
# error: err is a string with an error message
if (!is.null(err)) {
cat('Connection error: ', err)
} else {
siridb$close()
}
})
A more complete description of the R-connector can be found via the link below.