For the usage of the eccCL package in R you need first to install Java 8 on your system and the rJava package and make these work together. ###################### INSTALLATION LINUX: ###################### On Linux it can done using the following commands within the terminal: $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer After installing Java, please check the version: $ java -version java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) 2) Install the rJava package in R: install.packages('rJava', type='source') 3) A reconfiguring of your Java version for R is necessary. To this end, use the following command in the terminal: $ sudo R CMD javareconf 4) Start R and load the rJava package. It should work now. 5) Install the eccCL package: install.packages("/path/to/package/eccCL_0.1.tar", repos=NULL, type="source") 6) Test the package: library(eccCL) eccCL:::testECCCR() If your system does NOT support OpenCL use the following command before running the test function: eccCL:::eccCLsetExecutionMode(2,2) ################################## INSTALLATION MAC OS: ################################## There is a known bug with Java on mac OS. However, it can be fixed using the following scheme: 1) Download and install Apples Java version 1.6. 2) Install the rJava package in R: install.packages('rJava', type='source') 1) Install Java 8 using the appropriate download file from http://www.java.com for your system. After installing check the version: $ java -version java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode) 3) A reconfiguring of your Java version for R is necessary. To this end, use the following command in the terminal: $ sudo R CMD javareconf 4) Start R and load the rJava package. It should work now. 5) Install the eccCL package: install.packages("/path/to/package/eccCL_0.1.tar", repos=NULL, type="source") 6) Test the package: library(eccCL) eccCL:::testECCCR() If your system does not support OpenCL use the following command before running the test function: eccCL:::eccCLsetExecutionMode(2,2)