Learn R Programming

R client for kdb+

Execute kdb+ queries from R for advanced high-performance analytics.

See Interfacing with R on Kx wiki.

Installation

Using devtools package

devtools::install_github('kxsystems/rkdb')

To test, assuming a local q instance listening on port 5000, try in R:

> library(rkdb)
> test.rkdb()

API

open_connection - opens connection to kdb+ Note that open_connection takes 3 arguments with defaults of host='localhost', port=5000, user=NULL.

execute - run a query using string on connection provided

close_connection - close previously opened connection

Want to contribute?

  • Prepare rkdb to be published to CRAN
  • Pass R objects directly to execute
  • Any open issues or documentation improvements

Copy Link

Version

Install

install.packages('rkdb')

Monthly Downloads

3

Version

0.9.0

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Sergey Vidyuk

Last Published

June 7th, 2017

Functions in rkdb (0.9.0)

open_connection

Connect to kdb+ instance.
test.rkdb

Run simple series of tests for qserver Note: Start kdb+ instance on localhost:5000 before running this function
close_connection

Close connection to kdb+ instance.
execute

Execute query using con connection to kdb+.