cancel
Showing results for 
Search instead for 
Did you mean: 

issues with Rserver on windows10

P_Bukowinski
New Contributor
Hi
I failed to run rserver on w32 KDB+ 3.3 2016.03.14 with R-3.1.2 dll's (32bit) recompiled with gcc 5.3.0 on windows 10 (64bit).

No problem to load R plugin functions but any execution fails with:

    Fatal error: Unable to open the base package

Q&R env variables loaded, all shared libs visible from rserver.dll, also tried different location for R and q binaries, still no luck.

Did you guys got it running on this setup ?

Thanks
Pat
3 REPLIES 3

sergey
New Contributor
Hi Pat,

Just recompiled rserver on Win10 machine(64 bit) with latest R(3.3.1)  and mingw gcc 5.3.0. Using kdb+ w32 3.4.

rinit.q and rtest.q run without issues. 
External packages work as well - installation, execution, examples.

Do you get any errors during rtest.q or compilation? Did you copy all %R_HOME%\bin\i386\*.dll into %QHOME%\w32?

Maybe try to upgrade to latest R. Do you get any issues when trying to install/use packages directly from R?

Best,
Sergey

P_Bukowinski
New Contributor

Sergey thanks for motivation !
My env was in a bad shape, got it fixed by uninstalling all R related software, then reinstalled same version in C:\R as admin (assume that's unlikely related). Redefined paths to new locations.
q & rserver.dll untouched.

Problematic installation of R had no issues with packages used directly.

cheers
Pat

Glad that it solved now!