Richard Chapman 9b6444cf13 HPCC-25752 Roxie may crash at startup if parallel-loading R queries 4 years ago
..
CMakeLists.txt 7c5efa0993 HPCC-19738 Suppress REMBED build warnning 7 years ago
R.ecllib 8ebe6fd4a5 HPCC-21224 Compile-time syntax check for R plugin 6 years ago
README c63b80c278 HPCC-13448 Source Code needs Marca Registrada next to HPCC Systems® 9 years ago
Rembed.cpp 9b6444cf13 HPCC-25752 Roxie may crash at startup if parallel-loading R queries 4 years ago

README

################################################################################
# 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