Skip to content

a simple Clojure wrapper for JRI, Java/R interface

License

Notifications You must be signed in to change notification settings

coderaanalytics/clj-jri

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-jri

A simple wrapper library for JRI, Java/R interface, mostly to draw charts on R.

Preparation

You may need to install R library "JGR/rJava" (http://rforge.net/JGR/) on R by "install.packages('rJava')" and have to set the following environment variables.

(example)

export R_HOME=/usr/lib/R/
export LD_LIBRARY_PATH=./lib

You also need to place REngine.jar, JRI.jar and libjri.so from the original project site onto LD_LIBRARY_PATH.

To install the library locally, the following process is recommended.

lein clean
lein deps
lein compile
lein jar
lein uberjar
lein localrepo install ./target/clj-jri-0.0.1-standalone.jar clj-jri 0.0.1-standalone

Examples and notes

See clj-jri.sample for the example codes and notes on the usage.

TODOs

Additional features may be supported in the future, when necessary.

References

For detail, refer to https://github.com/s-u/rJava and to http://www.rosuda.org/r/nightly/javadoc/org/rosuda/JRI/Rengine.html

License

Copyright © 2014 Takahiro SAWADA

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

a simple Clojure wrapper for JRI, Java/R interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%