# QServer.R file

**URL:** <https://forum.kx.com/t/qserver-r-file/6820>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [December 13, 2010, 4:04am UTC](https://forum.kx.com/t/qserver-r-file/6820 "2010-12-13T04:04:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael1](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Michael1](https://forum.kx.com/u/Michael1)\
**Post date:** [December 13, 2010, 4:04am UTC](https://forum.kx.com/t/qserver-r-file/6820/1 "2010-12-13T04:04:00Z")

</div>

Does anyone know of where I can get a copy of the QServer.R file?

---

<div class="post-metadata">

**Author:** ![Chris\_Burke1](https://avatars.discourse-cdn.com/v4/letter/c/e9bcb4/32.png) [@Chris\_Burke1](https://forum.kx.com/u/Chris_Burke1)\
**Post date:** [December 13, 2010, 8:22am UTC](https://forum.kx.com/t/qserver-r-file/6820/2 "2010-12-13T08:22:00Z")

</div>

The R interface is on the Kx wiki, e.g. seehttps://code.kx.com/trac/browser/cookbook\_code/r/l64\_qserver/qserver.ROn Dec 13, 12:04?pm, Michael \<princetonbac…\> wrote:\> Does anyone know of where I can get a copy of the QServer.R file?\</princetonbac…\>

---

<div class="post-metadata">

**Author:** ![Michael1](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Michael1](https://forum.kx.com/u/Michael1)\
**Post date:** [December 16, 2010, 2:35am UTC](https://forum.kx.com/t/qserver-r-file/6820/3 "2010-12-16T02:35:00Z")

</div>

Hi Chris,Thanks for the quick response.I’m now stuck trying to figure out what c.o and r.h are. Where dothem come from / how do I compile them?On Dec 13, 3:22?am, Chris Burke \<cdbu…\> wrote:\> The R interface is on the Kx wiki, e.g. seehttps://code.kx.com/trac/browser/cookbook\_code/r/l64\_qserver/qserver.R\>\> On Dec 13, 12:04?pm, Michael \<princetonbac…\> wrote:\>\>\>\> \> Does anyone know of where I can get a copy of the QServer.R file?\</princetonbac…\>\</cdbu…\>

---

<div class="post-metadata">

**Author:** ![Chris\_Burke1](https://avatars.discourse-cdn.com/v4/letter/c/e9bcb4/32.png) [@Chris\_Burke1](https://forum.kx.com/u/Chris_Burke1)\
**Post date:** [December 16, 2010, 3:55am UTC](https://forum.kx.com/t/qserver-r-file/6820/4 "2010-12-16T03:55:00Z")

</div>

Hi Michaelc.o is from Kx and is platform dependent, e.g. seehttps://code.kx.com/trac/browser/kx/kdb%2B/l32R.h etc. are from your R distribution, e.g. mine is installed in /usr/share/R/includeChrisOn Dec 16, 10:35?am, Michael \<princetonbac…\> wrote:\> Hi Chris,\> Thanks for the quick response.\>\> I’m now stuck trying to figure out what c.o and r.h are. ?Where do\> them come from / how do I compile them?\>\> On Dec 13, 3:22?am, Chris Burke \<cdbu…\> wrote:\>\> \> The R interface is on the Kx wiki, e.g. seehttps://code.kx.com/trac/browser/cookbook\_code/r/l64\_qserver/qserver.R\>\> \> On Dec 13, 12:04?pm, Michael \<princetonbac…\> wrote:\>\> \> \> Does anyone know of where I can get a copy of the QServer.R file?\</princetonbac…\>\</cdbu…\>\</princetonbac…\>

---

<div class="post-metadata">

**Author:** ![naveen\_sharma](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@naveen\_sharma](https://forum.kx.com/u/naveen_sharma)\
**Post date:** [October 13, 2013, 8:42am UTC](https://forum.kx.com/t/qserver-r-file/6820/5 "2013-10-13T08:42:00Z")

</div>

Hi Chris,  
I know its an old thread but i was doing the same. I got the c.o from the link but now the makefile gives an error saying k.h not found.

i checked the q and other folders but wasn’t able to locate it. do you know where can i find the same?

Regards,

---

<div class="post-metadata">

**Author:** ![naveen\_sharma](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@naveen\_sharma](https://forum.kx.com/u/naveen_sharma)\
**Post date:** [October 13, 2013, 9:13am UTC](https://forum.kx.com/t/qserver-r-file/6820/6 "2013-10-13T09:13:00Z")

</div>

I got the same from kx site too but when i run the make file it gives a bunch of errors. Is the directory structure important coz i took the files from c/ and copied to the same directory and then modified base.c accordingly.

---

<div class="post-metadata">

**Author:** ![Chris\_Burke1](https://avatars.discourse-cdn.com/v4/letter/c/e9bcb4/32.png) [@Chris\_Burke1](https://forum.kx.com/u/Chris_Burke1)\
**Post date:** [October 13, 2013, 10:10am UTC](https://forum.kx.com/t/qserver-r-file/6820/7 "2013-10-13T10:10:00Z")

</div>

In the Kx svn, see directory: [http://code.kx.com/wsvn/code/kx/kdb%2B/c/c/](http://code.kx.com/wsvn/code/kx/kdb%2B/c/c/)

Chris

---

<div class="post-metadata">

**Author:** ![Chris\_Burke1](https://avatars.discourse-cdn.com/v4/letter/c/e9bcb4/32.png) [@Chris\_Burke1](https://forum.kx.com/u/Chris_Burke1)\
**Post date:** [October 13, 2013, 12:48pm UTC](https://forum.kx.com/t/qserver-r-file/6820/8 "2013-10-13T12:48:00Z")

</div>

The server should compile with the directory structure in the svn. Please try that first, thanks.&nbsp;

Rearranging things should work, but can also be a source of errors.

Chris

---

<div class="post-metadata">

**Author:** ![naveen\_sharma](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@naveen\_sharma](https://forum.kx.com/u/naveen_sharma)\
**Post date:** [October 13, 2013, 1:02pm UTC](https://forum.kx.com/t/qserver-r-file/6820/9 "2013-10-13T13:02:00Z")

</div>

it worked with the directory structure. Thanks!
