I've successfully installed rincanter and everything is working correctly but I'm having issues figuring out how to use it in other projects. I've tried creating an uberjar of rincanter with leiningen and then installing that locally with maven. I can then load rincanter as a dependency of other leiningen projects and all the rincanter methods are available. The problem comes when evaluating R expressions. For example, if I try:
(r-eval "data(iris)")
I get the following error:
REngineException Cannot load JRI native library org.rosuda.REngine.JRI.JRIEngine.<init> (JRIEngine.java:189)
I don't have this problem when using rincanter inside the directory in which I've installed it. Is there any way I can use rincanter in other projects?
Thanks.
I've successfully installed rincanter and everything is working correctly but I'm having issues figuring out how to use it in other projects. I've tried creating an uberjar of rincanter with leiningen and then installing that locally with maven. I can then load rincanter as a dependency of other leiningen projects and all the rincanter methods are available. The problem comes when evaluating R expressions. For example, if I try:
(r-eval "data(iris)")I get the following error:
REngineException Cannot load JRI native library org.rosuda.REngine.JRI.JRIEngine.<init> (JRIEngine.java:189)I don't have this problem when using rincanter inside the directory in which I've installed it. Is there any way I can use rincanter in other projects?
Thanks.