Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.1 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.1 KB

About

R client for the Open PHACTS platform.

Copyright / License

Copyright (C) 2013-2017 Egon Willighagen

Licensed AGPL v3 for the package. It depends on the LGPL v2.1 or later ops4j from http://github.com/egonw/ops4j/ and the Apache io, logging, and httpclient commons libraries, which have Apache licenses.

Install from R

> install.packages("rJava") # if not present already
> install.packages("devtools") # if not present already
> library(devtools)
> install_github("egonw/rrdf", subdir="rrdflibs") # if not present already
> install_github("egonw/rrdf", subdir="rrdf") # if not present already
> install_github("egonw/ropenphacts", subdir="ropenphactslibs")
> install_github("egonw/ropenphacts", subdir="ropenphacts")

Compile from source

$ cd java
$ groovy build.groovy
$ cd ..
$ R CMD build ropenphactslibs
$ R CMD check --as-cran ropenphactslibs
$ R CMD build ropenphacts
$ R CMD check --as-cran ropenphacts

Debian/Ubuntu

Debian GNU/Linux and Ubuntu users are recommended to do first:

$ sudo apt-get install r-cran-rjava groovy ant-contrib