-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to load certain libraries in plr Windows 10 #27
Comments
So the real challenge we have with this is finding a windows 10 box to I suspect what is happening is a library load error within the modules that Dave Cramer On 21 September 2016 at 04:41, Balázs Klein notifications@github.com
|
Unfortunately I am completely unfamiliar with debugging. |
Unfortunately no. Could you try creating an R program which attempts to load the same Dave Cramer On 21 September 2016 at 08:58, Balázs Klein notifications@github.com
|
the single line |
Can you try this either with the R path "C:\R\R-3.3.1\library" (no spaces) on your Windows box, or alternatively using path "/Program Files/R/R-3.3.1/library" (with space in path) on a Debian system to see how it behaves? I can try the latter at some point but will not have time for a while... |
I can try the former one. Will let you know about the results. |
I uninstalled and reinstalled R into "C:\R\R-3.3.1" and changed the R_HOME variable. SELECT * FROM plr_environ() returns now with the new R_HOME value. Unfortunately the error remains: in a plr function library('catR') returns OK, but library('reshape2') gives the same error as before. |
All of the failing packages look like they import other packages, whereas the ones that do not fail are standalone -- is that correct? Since the imported packages are also in DLL files, please try putting the R library directory (location of all of these package DLLs) into your system PATH environment variable. If I remember correctly I have seen that needed before. |
Thanks for the idea, I have now tried that, but unfortunately it did not help. I now have the following directories in my system PATH variable: also tried adding: I restarted the machine. library(catR) succeeds, Please let me know if there is anything else I could try. |
Yesterday I tried library('lattice') in a plr function on my own Win10 VM and it loaded perfectly, even though I do not have the DLL dirs in the PATH. So apparently that is not the issue. Is there anything none standard with your install other than moving the installation directory? I assume you got the R via CRAN for example? |
library('lattice') runs fine for me too |
sorry for the long delay, but this works fine for me also so I am still at a loss as to what the problem could be: CREATE OR REPLACE FUNCTION public.testplr() |
if that works fine on your box than it must be something with the setup of mine |
* use appveyor to create windows dll any tag will create a new release with that tag name the dll will automatically be uploaded to the release. Currently the repo now has msvc.diff in it to allow building, this will have to be kept in sync for appveyor to build. The build environment is Visual C++ 2013
I am unable to load certain libraries in plr in windows 10.
They fail with the following error message:
Libraries so far that I found to fail are: reshape, reshape2, lattice, hexbin, testthat, Matrix
These libraries are usable from R itself.
At the same time other libraries installed the same way, and located at the same place load with no problem, eg: curl, foreach, MASS, knitr, yaml
I am running
I also tried this with Postgres 9.5 and got the same error.
There is no similar problem on my production Debian machine.
I don't even know where to begin investigating.
(I have sent this same message to the mailing list as well. I am sorry for double posting but I am uncertain now what forum should I be using for issues.)
Thanks for any help.
Balázs
The text was updated successfully, but these errors were encountered: