I am trying to load the matrixStats Library (engine.Evaluate("library('matrixStats')");) from a asp .net web application and I am faced with the following error.
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object bla\bla\R\R-3.3.1\library\stats\libs\x64
I get the same error while running the sample web project in the WebApplicationSample in the R.net on boarding examples.
I fixed the issue from another post:
http://author-entry17.rssing.com/chan-9456546/all_p43.html
You have to copy over the dlls from the architecture folder into the package path as a work around.
Please find detailed answers from the above link.
ie copy dlls in
C:\Program Files\R\R-3.1.0\bin\i386 or C:\Program Files\R\R-3.1.0\bin\x64
to
R\R-3.3.1\library\stats\libs\x64 or R\R-3.3.1\library\stats\libs\i386
as a work around.
Hope this helps someone I struggled with this issue for so long!!
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object bla\bla\R\R-3.3.1\library\stats\libs\x64
I get the same error while running the sample web project in the WebApplicationSample in the R.net on boarding examples.
I fixed the issue from another post:
http://author-entry17.rssing.com/chan-9456546/all_p43.html
You have to copy over the dlls from the architecture folder into the package path as a work around.
Please find detailed answers from the above link.
ie copy dlls in
C:\Program Files\R\R-3.1.0\bin\i386 or C:\Program Files\R\R-3.1.0\bin\x64
to
R\R-3.3.1\library\stats\libs\x64 or R\R-3.3.1\library\stats\libs\i386
as a work around.
Hope this helps someone I struggled with this issue for so long!!