[R-SIG-Finance] Does anybody know how to connect to KDB from within R?
Daniel Cegielka
daniel.cegielka at gmail.com
Fri Sep 25 09:10:58 CEST 2009
Michael pisze:
> It doesn't seem to work on my computer:
>
> http://127.0.0.1:5000/
>
> I am using that trial version on my personal laptop: the one that
> auto-exits every 2 hours...
>
> What might be the problem?
To connect R into kdb you must set port:
start q with "-p port" parametr:
q -p 5000
or from q console:
\q 5000
and set this port in R session:
con <- .Call("kx_r_open_connection",list(host="localhost",as.integer(port=5000),user=NULL))
and you can connect R (or web browser) to kdb.
best,
daniel
More information about the R-SIG-Finance
mailing list