Qserver in R

I installed the free 32-bit version in c:/q and the qserver.r code in c:/r and ran the test.R file that came with the Qserver code and got the following error:

> source(“c:/r/qserver.r”)

> c <- open_connection()

Error in open_connection() : No error

Anyone have any tips for me?  Do I need to do anything special or should it just work out of the box?  I maintained the same director structure they suggested in the read me.

did you start the kdb+ process listening on the port 5000?
e.g. at the windows cmd prompt

q -p 5000

or at the q command prompt

q)\p 5000

I just started q the regular way.  Switching to port 5000 fixed the issue.  I see I have a long road ahead.

Hi Roger,

thanks for reporting this scenario - it has revealed a bug in the windows build for that lib, in that the error message is incorrect. e.g. on osx you would have seen

Error in open_connection() : Connection refused

which might have led you to figure out the process was not listening.

thanks