Skip to content

R Integration with IBM Open Platform ( IBM Hadoop and Spark Platform ) on IBM OpenPOWER

Ashish Kumar edited this page Jun 7, 2016 · 7 revisions

What is BigR ?

   -> Functional Programming Language
   -> End-to-End integration with R Lang and BigInsights
   -> Both R and BigR can be used in an R Env.
   -> Features available in R
           -> Explore data sets
           -> create visualizations
           -> build predictive models

Installing BigR Services -> Pre-Requisite

      -> IOP must be installed already
      -> All IOP nodes should have same version of OpenJDK
      -> All hosts should be listed in "/etc/hosts" file on each node
      -> Add umask 022 in the .bashrc file of the root user on all nodes. This action makes the file permission executable by all users. 
      -> rhel-7-for-power-le-supplementary-rpms and rhel-7-for-power-le-optional-rpms in the  /etc/yum.repos.d/redhat.repo file on all nodes. To do this, change 'enabled = 0' to 'enabled = 1'.
      -> Ensure that yum-config-manager is installed. It is included with the yum-utensils package
                    yum install -y yum-utils
      -> R Packages should be installed already as pre-requisite for BigR

Installing R Packages -> Pre-Requisite(All Nodes in the Cluster)

       -> Location of R-Package for Redhat 7.1 PPC64LE
             R-3.2.2  : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/R-3.2.2-1.ael7b.ppc64le.rpm
             R-core-3.2.2 : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/R-core-3.2.2-1.ael7b.ppc64le.rpm    
             R-java-3.2.2 : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/R-java-3.2.2-1.ael7b.ppc64le.rpm
             libRmath-3.2.2 : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/libRmath-3.2.2-1.ael7b.ppc64le.rpm   
             R-devel-3.2.2  : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/R-devel-3.2.2-1.ael7b.ppc64le.rpm  
             R-core-devel-3.2.2  : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/R-core-devel-3.2.2-1.ael7b.ppc64le.rpm    
             R-java-devel-3.2.2  : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/R-java-devel-3.2.2-1.ael7b.ppc64le.rpm  
             libRmath-static-3.2.2  : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/libRmath-static-3.2.2-1.ael7b.ppc64le.rpm  
             libRmath-devel-3.2.2 : ftp://ftp.software.ibm.com/linux/rpms/redhat/7.1/libRmath-devel-3.2.2-1.ael7b.ppc64le.rpm

       -> Installing "R" packages
             go to the "R" packages downloaded rpms directory
             rpm -ivh *.rpm
       -> Test R installation : Issue command "R" and that should bring up R shell prompt