Richard Chapman c51ad979cd HPCC-10307 R integration terminates process if R syntax invalid 11 years ago
..
CMakeLists.txt 3e8cb6c5d1 HPCC-9068 Embedded scripting plugins need to syntax check without dll 12 years ago
R.ecllib 3e8cb6c5d1 HPCC-9068 Embedded scripting plugins need to syntax check without dll 12 years ago
README 5b9935e385 Fix typo in readme 12 years ago
Rembed.cpp c51ad979cd HPCC-10307 R integration terminates process if R syntax invalid 11 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
wget http://cran.r-project.org/src/contrib/RInside_0.2.10.tar.gz
sudo R CMD INSTALL RInside_0.2.10.tar.gz

Then you can enable building the Rembed plugin using

cmake -DMAKE_REMBED=1