################################################################################ # HPCC SYSTEMS software Copyright (C) 2013 HPCC Systems®. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ################################################################################ Building the Rembed plugin -------------------------- Building the plugin to embed R in ECL code is not enabled by default - this is because it depends on a component (RInside) that can't be installed via standard package-management utilities on most distros. To install the prerequisites for building R support, use the following (Ubuntu 12.04) or the equivalent for your distro. sudo apt-get install r-base r-cran-rcpp For Ubuntu 14.04: wget http://cran.r-project.org/src/contrib/RInside_0.2.11.tar.gz To install: sudo R CMD INSTALL RInside_0.2.11.tar.gz For Ubuntu before 14.04: wget http://cran.r-project.org/src/contrib/00Archive/RInside/RInside_0.2.10.tar.gz To install sudo R CMD INSTALL RInside_0.2.10.tar.gz Then you can enable building the Rembed plugin using cmake -DMAKE_REMBED=1