rserver for q

Does the interface not work for trial edition? I am working on a 64 bit linux machine with the trial version.
I change the makefile 2nd line to Q=~/q/l32. It compiled and moved rserver.so to the l32 dir.

When i ran the command Ropen:rserver 2:(ropen;1), it gave an error saying wrong ELF class: ELFCLASS64.

I can see that there is one more instance where i need to change the $(MS) to l32 but doing so results in compilation errors.

Regards,  

<o:p> </o:p>

Sorry, cannot help since I am on w32. But I can report that it works on w32 and trial version. <o:p></o:p>

<o:p> </o:p>

Kim<o:p></o:p>

<o:p> </o:p>

Von: personal-kdbplus@googlegroups.com [mailto:personal-kdbplus@googlegroups.com] Im Auftrag von naveen sharma
Gesendet: Mittwoch, 27. November 2013 16:00
An: personal-kdbplus@googlegroups.com
Betreff: [personal kdb+] rserver for q<o:p></o:p>

<o:p> </o:p>

Does the interface not work for trial edition? I am working on a 64 bit linux machine with the trial version.<o:p></o:p>

I change the makefile 2nd line to Q=~/q/l32. It compiled and moved rserver.so to the l32 dir.<o:p></o:p>

When i ran the command Ropen:rserver 2:(ropen;1), it gave an error saying wrong ELF class: ELFCLASS64.<o:p></o:p>

<o:p> </o:p>

I can see that there is one more instance where i need to change the $(MS) to l32 but doing so results in compilation errors.<o:p></o:p>

<o:p> </o:p>

<o:p> </o:p>

Regards,  <o:p></o:p>


Submitted via Google Groups

can you use the pre-built binary at http://code.kx.com/wsvn/code/cookbook_code/r/rserve/bin/l32/rserve.so

?

The pre-built binary works fine. Thanks!

Is there a way I can make functions declared in R work with Rserve? i.e an equivalent of source(‘filename’) in rserve?

You should be able to do source(“filename”) in rserve. What do you get when you try this? You may need “fileio enable” but this is the default.

Chris

I tried Rcmd “source(‘file.R’)” but it doesn’t load the functions. When I do Rget “ls()”, the functions are not listed.

Try

Print(ls())

Von meinem iPhone gesendet

Am 29.11.2013 um 10:05 schrieb naveen sharma <sharma.naveen888@gmail.com>:

I tried Rcmd “source(‘file.R’)” but it doesn’t load the functions. When I do Rget “ls()”, the functions are not listed.

Not sure if i understood.
Tried Rget “print(ls())” and it lists the same functions. my Rcmd “source(‘file.R’)” added no new functions.

Using cwd() you will see where R is actually pointing. Then change the path to the directory where the R script is located. Then try to source the R file again.<o:p></o:p>

<o:p> </o:p>

If it is still not working just ask.<o:p></o:p>

<o:p> </o:p>

Kim<o:p></o:p>

<o:p> </o:p>

Von: personal-kdbplus@googlegroups.com [mailto:personal-kdbplus@googlegroups.com] Im Auftrag von naveen sharma
Gesendet: Freitag, 29. November 2013 10:14
An: personal-kdbplus@googlegroups.com
Betreff: Re: [personal kdb+] rserver for q<o:p></o:p>

<o:p> </o:p>

Not sure if i understood.<o:p></o:p>

Tried Rget “print(ls())” and it lists the same functions. my Rcmd “source(‘file.R’)” added no new functions.

Thanks a bunch! works ine now.