Richard Chapman e70637b906 HPCC-12415 Excessive tracing from cassandra plugin 10 anos atrás
..
CMakeLists.txt 0b02ab8b6a HPCC-11394 Support latest version of Rcpp 11 anos atrás
R.ecllib 3e8cb6c5d1 HPCC-9068 Embedded scripting plugins need to syntax check without dll 12 anos atrás
README 7f746de337 HPCC-11847 Embedded R component installation info is out of date 11 anos atrás
Rembed.cpp e70637b906 HPCC-12415 Excessive tracing from cassandra plugin 10 anos atrás

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