6 Replies Latest reply on Jan 12, 2017 2:53 PM by Nithin S-Oracle

    OBIIE - Oracle R Enterprise integration - cannot compile Rcpp package

    Nithin S-Oracle

      OBIE 12c integration with Oracle R Enterprise

       

      Created: Sep 27, 2016

      1. 1. Pre-requisites

       

      1. 1.1. OS requirements

       

      Make sure that the following version of OS has been installed:

       

      64-bit Oracle Solaris 10 update 10 through

      Oracle Solaris 11 for both SPARC and x86-64

      (Intel) platforms

       

      Check database server for RT400:

       

      cat /etc/release

      Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC

       

      1. 1.2.    Oracle R Enterprise Server Support Matrix

       

      Oracle R Enterprise

      Open source R or Oracle R Distribution

      Oracle Database (see Note)

      1. 1.0
      2. 2.13.2
      3. 11.2.0.3, 11.2.0.4, 12.1
      4. 1.1
      5. 2.13.2
      6. 11.2.0.3, 11.2.0.4, 12.1
      7. 1.2
      8. 2.15.1
      9. 11.2.0.3, 11.2.0.4, 12.1
      10. 1.3
      11. 2.15.1
      12. 11.2.0.3, 11.2.0.4, 12.1
      13. 1.3.1
      14. 2.15.1, 2.15.2, 2.15.3
      15. 11.2.0.3, 11.2.0.4, 12.1
      16. 1.4
      17. 3.0.1, 3.1.1
      18. 11.2.0.3, 11.2.0.4, 12.1.0.1
      19. 1.4.1
      20. 3.0.1, 3.1.1
      21. 11.2.0.3, 11.2.0.4, 12.1.0.1
      22. 1.5
      23. 3.2.x
      24. 11.2.0.4, 12.1.0.1, 12.1.0.2

       

                We will use version combination 1.4.1/3.1.1 with 11.2.0.4 database.

       

       

       

      1. 2. Install  Oracle R Distribution software for Oracle Solaris

       

      1. 2.1. Download Oracle R Distribution software for Oracle Solaris

       

       

      Go the Oracle Open Source Software Download page for Oracle R Distribution:

       

      https://oss.oracle.com/ORD/

       

       

      Software location: /export/media/software/OBIEE/ord311

       

      Use obieeapp account.

       

              cd /export/media/software/OBIEE/ord311

        

      ls -l

      -rw-r--r-- 1 dpopovic dba      41363374 Sep 27 14:02 ord-3.1.1-sol10-sparc-64-sunstudio12u3.tar.gz

      -rw-r--r-- 1 dpopovic dba      42078748 Sep 27  2016 ord-3.1.1-supporting-sol10-sparc-64-sunstudio12u3.tar.gz

       

        

       

      1. 2.2. Uncompress the first file (ord-3.1.1-sol10-sparc-64-sunstudio12u3.tar.gz)

       

      tar -xvzf ord-3.1.1-sol10-sparc-64-sunstudio12u3.tar.gz

       

      x ord-3.1.1-sol10-sparc64.pkg, 70257664 bytes, 137222 tape blocks

      x install.sh, 322 bytes, 1 tape blocks

      x uninstall.sh, 116 bytes, 1 tape blocks

       

       

      1. 2.3. Install ORD

       

      Run install.sh to install Solaris package.

      1. install.sh (root privilege is required)

       

      Victor has installed it on unhs42 (all zone should be able to see it)

       

      Verify if the package has been installed:

      pkginfo -l ORD

      PKGINST:  ORD

      NAME:  Oracle R Distribution

      CATEGORY:  application

      ARCH:  sparc

      VERSION:  3.1.1

      BASEDIR:  /usr/lib/64

      VENDOR:  Oracle

      PSTAMP:  5thDec12

      INSTDATE:  Sep 27 2016 15:05

      STATUS:  completely installed

      FILES:     4270 installed pathnames

      395 directories

      427 executables

      136552 blocks used (approx)

       

       

      1. 2.4. Uncompress the second file (ord-3.1.1-supporting-sol10-sparc-64-sunstudio12u3.tar.gz)

       

      As oracle database software owner (data source):

       

      cd $ORACLE_BASE    (/db/rpt/rt400/db)

      mkdir ordlib

      cd ordlib

      gunzip -c /export/media/software/OBIEE/ord311/ord-3.1.1-supporting-sol10-sparc-64-sunstudio12u3.tar.gz | tar -xvf -

             

      or on newer version of OS (option z)

       

      tar -xvzf /export/media/software/OBIEE/ord311/ord-3.1.1-supporting-sol10-sparc-64-sunstudio12u3.tar.gz

       

       

       

       

      x libcairo.so, 2937864 bytes, 5739 tape blocks

      x libcairo.so.2, 2937864 bytes, 5739 tape blocks

      x libdpstrf.a, 30384 bytes, 60 tape blocks

      x libfai.so.3, 1602848 bytes, 3131 tape blocks

      x libfai2.so.3, 2328696 bytes, 4549 tape blocks

      x libfai2_isa.so.3, 2474064 bytes, 4833 tape blocks

      x libfmaxlai.so.1, 1366280 bytes, 2669 tape blocks

      x libfmaxvai.so.1, 1346840 bytes, 2631 tape blocks

      x libfminlai.so.1, 1368072 bytes, 2673 tape blocks

      x libfminvai.so.1, 1350680 bytes, 2639 tape blocks

      x libfprodai.so.1, 615392 bytes, 1202 tape blocks

      x libfsu.so.1, 2759448 bytes, 5390 tape blocks

      x libfsumai.so.1, 585248 bytes, 1144 tape blocks

      x libfui.so.2, 213952 bytes, 418 tape blocks

      x libiconv.so.2, 1086944 bytes, 2123 tape blocks

      x libncurses.so.5, 818040 bytes, 1598 tape blocks

      x libreadline.so.6, 449104 bytes, 878 tape blocks

      x libsunmath.so.1, 642920 bytes, 1256 tape blocks

      x libsunperf.so.8, 64806576 bytes, 126576 tape blocks

       

      ls -l

      total 175376

      -r-xr-xr-x 1 rt400ora dba      2937864 Jan  8 2015 libcairo.so

      -r-xr-xr-x 1 rt400ora dba      2937864 Jan  8 2015 libcairo.so.2

      -r-xr-xr-x 1 rt400ora dba        30384 Jan  8 2015 libdpstrf.a

      -rwxr-xr-x 1 rt400ora dba      1602848 Jan  8 2015 libfai.so.3

      -rwxr-xr-x 1 rt400ora dba      2474064 Jan  8 2015 libfai2_isa.so.3

      -rwxr-xr-x 1 rt400ora dba      2328696 Jan  8 2015 libfai2.so.3

      -rwxr-xr-x 1 rt400ora dba      1366280 Jan  8 2015 libfmaxlai.so.1

      -rwxr-xr-x 1 rt400ora dba      1346840 Jan  8 2015 libfmaxvai.so.1

      -rwxr-xr-x 1 rt400ora dba      1368072 Jan  8 2015 libfminlai.so.1

      -rwxr-xr-x 1 rt400ora dba      1350680 Jan  8 2015 libfminvai.so.1

      -rwxr-xr-x 1 rt400ora dba       615392 Jan  8 2015 libfprodai.so.1

      -rwxr-xr-x 1 rt400ora dba      2759448 Jan  8 2015 libfsu.so.1

      -rwxr-xr-x 1 rt400ora dba       585248 Jan  8 2015 libfsumai.so.1

      -rwxr-xr-x 1 rt400ora dba       213952 Jan  8 2015 libfui.so.2

      -r-xr-xr-x 1 rt400ora dba      1086944 Jan  8 2015 libiconv.so.2

      -r-xr-xr-x 1 rt400ora dba       818040 Jan  8 2015 libncurses.so.5

      -r-xr-xr-x 1 rt400ora dba       449104 Jan  8 2015 libreadline.so.6

      -rwxr-xr-x 1 rt400ora dba       642920 Jan  8 2015 libsunmath.so.1

      -rwxr-xr-x 1 rt400ora dba      64806576 Jan  8 2015 libsunperf.so.8

       

       

      These tar files contain the shared libraries for libR.so:

      • libiconv.so.2

      • libncurses.so.5

      • libreadline.so.6

      • libsunperf.so

      1. libsunperf.so, Sun Performance Library, and its dependent shared libraries

      are included in Oracle Solaris Studio.

       

       

      1. 2.5. Add local directory with supporting libraries to LD_LIBRARY_PATH

       

      There is an issue due to two LD_LIBRARY environment variables

       

      LD_LIBRARY_PATH_64

      LD_LIBRARY_PATH

       

      I made changes in .profile to support only one variable

       

      unset LD_LIBRARY_PATH_64

      export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$ORACLE_BASE/ordlib:/usr/sfw/lib/sparcv9

       

      Additionally, add path /usr/sfw/lib/sparcv9. It is required for R when loading Cairo package.

       

       

      1. 2.6. Verify libR.so dependency on supporting libraries

       

      Run the following command to verify that libR.so is picking up its shared

      library dependencies correctly from the local directory.

       

      ldd -r /usr/lib/64/R/lib/libR.so

       

       

      libsunmath.so.1 => /db/rpt/rt400/db/ordlib/libsunmath.so.1

      libfai.so.3 => /db/rpt/rt400/db/ordlib/libfai.so.3

      libfai2.so.3 => /db/rpt/rt400/db/ordlib/libfai2.so.3

      libfsumai.so.1 => /db/rpt/rt400/db/ordlib/libfsumai.so.1

      libfprodai.so.1 => /db/rpt/rt400/db/ordlib/libfprodai.so.1

      libfminlai.so.1 => /db/rpt/rt400/db/ordlib/libfminlai.so.1

      libfmaxlai.so.1 => /db/rpt/rt400/db/ordlib/libfmaxlai.so.1

      libfminvai.so.1 => /db/rpt/rt400/db/ordlib/libfminvai.so.1

      libfmaxvai.so.1 => /db/rpt/rt400/db/ordlib/libfmaxvai.so.1

      libfui.so.2 => /db/rpt/rt400/db/ordlib/libfui.so.2

      libfsu.so.1 => /db/rpt/rt400/db/ordlib/libfsu.so.1

      libmtsk.so.1 =>  /lib/64/libmtsk.so.1

      libm.so.2 => /lib/64/libm.so.2

      libreadline.so.6 => /db/rpt/rt400/db/ordlib/libreadline.so.6

      libncurses.so.5 => /db/rpt/rt400/db/ordlib/libncurses.so.5

      libnsl.so.1 => /lib/64/libnsl.so.1

      libsocket.so.1 => /lib/64/libsocket.so.1

      librt.so.1 => /lib/64/librt.so.1

      libdl.so.1 => /lib/64/libdl.so.1

      libiconv.so.2 => /db/rpt/rt400/db/ordlib/libiconv.so.2

      libsunperf.so.8 => /db/rpt/rt400/db/ordlib/libsunperf.so.8

      libm.so.1 => /lib/64/libm.so.1

      libc.so.1 => /lib/64/libc.so.1

      libthread.so.1 => /lib/64/libthread.so.1

      libkstat.so.1 => /lib/64/libkstat.so.1

      libpthread.so.1 => /lib/64/libpthread.so.1

      libmp.so.2 => /lib/64/libmp.so.2

      libmd.so.1 => /lib/64/libmd.so.1

      libscf.so.1 => /lib/64/libscf.so.1

      libaio.so.1 => /lib/64/libaio.so.1

      libpicl.so.1 => /usr/lib/64/libpicl.so.1

      libdoor.so.1 => /lib/64/libdoor.so.1

      libuutil.so.1 => /lib/64/libuutil.so.1

      libgen.so.1 => /lib/64/libgen.so.1

      /platform/SUNW,SPARC-Enterprise/lib/sparcv9/libc_psr.so.1

      /lib/sparcv9/../libm/sparcv9/libm_hwcap1.so.2

       

                        Looks good.

       

      1. 2.7. Start R

       

      Start R by typing R at the command prompt

       

      R

       

       

      Oracle Distribution of R version 3.1.1 (2014-07-10) -- "Sock it to Me"

      Copyright (C) 2014 The R Foundation for Statistical Computing

      Platform: sparc-sun-solaris2.10 (64-bit)

       

      R is free software and comes with ABSOLUTELY NO WARRANTY.

      You are welcome to redistribute it under certain conditions.

      Type 'license()' or 'licence()' for distribution details.

       

      R is a collaborative project with many contributors.

      Type 'contributors()' for more information and

      'citation()' on how to cite R or R packages in publications.

       

      Type 'demo()' for some demos, 'help()' for on-line help, or

      'help.start()' for an HTML browser interface to help.

      Type 'q()' to quit R.

       

      You are using Oracle's distribution of R. Please contact

      Oracle Support for any problems you encounter with this

      1. distribution.

       

      >

       

       

      1. 3. Install  Oracle R Enterprise Server for Oracle Solaris

       

      1. 3.1. Download Oracle R Enterprise Server software for Oracle Solaris

       

      http://www.oracle.com/technetwork/database/database-technologies/r/r-enterprise/downloads/index.html

       

       

      cd /export/media/software/OBIEE/ore141

      ls -l

      total 27168

      -rw-r--r--   1 dpopovic dba      4904153 Sep 27  2016 ore-client-solaris-sparc-64-1.4.1.zip

      -rw-r--r--   1 dpopovic dba      5292703 Sep 27  2016 ore-server-solaris-sparc-64-1.4.1.zip

      -rw-r--r--   1 dpopovic dba      3672125 Sep 27  2016 ore-supporting-solaris-sparc-64-1.4.1.zip

       

      1. 3.2. Unzip the files

       

      As oracle database software owner:

       

      cp  /export/media/software/OBIEE/ore141/* $ORACLE_BASE/ore

      cd $ORACLE_BASE/ore

       

      unzip ore-server-solaris-sparc-64-1.4.1.zip

      unzip ore-supporting-solaris-sparc-64-1.4.1.zip

       

      ls -l

       

       

      total 27264

      -rw-r--r--   1 rt400ora dba      4904153 Sep 27 15:37 ore-client-solaris-sparc-64-1.4.1.zip

      -rw-r--r--   1 rt400ora dba      5292703 Sep 27 15:37 ore-server-solaris-sparc-64-1.4.1.zip

      -rw-r--r--   1 rt400ora dba      3672125 Sep 27 15:37 ore-supporting-solaris-sparc-64-1.4.1.zip

      drwxr-xr-x   3 rt400ora dba         8192 Sep 27 15:40 server

      -r-xr-xr-x   1 rt400ora dba        54467 Aug  6  2014 server.sh

      drwxr-xr-x   2 rt400ora dba         8192 Sep 27 15:40 supporting

       

      1. 3.3. Run server.sh script

       

      ./server.sh -i

       

       

      Oracle R Enterprise 1.4.1 Server.

       

      Copyright (c) 2012, 2014 Oracle and/or its affiliates. All rights reserved.

       

      Checking platform .................. Pass

      Checking R ......................... Pass

      Checking R libraries ............... Pass

      Checking ORACLE_HOME ............... Pass

      Checking ORACLE_SID ................ Pass

      Checking sqlplus ................... Pass

      Checking ORACLE instance ........... Pass

      Checking CDB/PDB ................... Pass

      Checking ORE ....................... Pass

       

      Choosing RQSYS tablespaces

        PERMANENT tablespace to use for RQSYS [list]: SYSAUX

        TEMPORARY tablespace to use for RQSYS [list]: TEMP

      Choosing RQSYS password

        Password to use for RQSYS:

       

      Choosing ORE user

        ORE user to use [list]: RQUSER

      Choosing RQUSER tablespaces

        PERMANENT tablespace to use for RQUSER [list]: USERS

        TEMPORARY tablespace to use for RQUSER [list]: TEMP

      Choosing RQUSER password

        Password to use for RQUSER:

       

      Current configuration

        R Version ........................ Oracle Distribution of R version 3.1.1 (2014-07-10)

        R_HOME ........................... /usr/lib/64/R

        R_LIBS_USER ...................... /db/rpt/rt400/db/11.2.0/R/library

        ORACLE_HOME ...................... /db/rpt/rt400/db/11.2.0

        ORACLE_SID ....................... rt400

       

        Existing R Version ............... None

        Existing R_HOME .................. None

        Existing ORE data ................ None

        Existing ORE code ................ None

        Existing ORE libraries ........... None

       

        RQSYS PERMANENT tablespace ....... SYSAUX

        RQSYS TEMPORARY tablespace ....... TEMP

       

        ORE user type .................... New

        ORE user name .................... RQUSER

        ORE user PERMANENT tablespace .... USERS

        ORE user TEMPORARY tablespace .... TEMP

        Grant RQADMIN role ............... No

       

        Operation ........................ Install/Upgrade/Setup

      Proceed? [yes] y

       

      Removing R libraries ............... Pass

      Installing R libraries ............. Pass

      Installing ORE libraries ........... Pass

      Installing RQSYS data .............. Pass

      Configuring ORE .................... Pass

      Installing RQSYS code .............. Pass

      Installing ORE packages ............ Pass

      Creating ORE script ................ Pass

      Installing migration scripts ....... Pass

      Installing supporting packages ..... Pass

      Creating ORE user .................. Pass

      Granting ORE privileges ............ Pass

       

      Done

       

       

      1. 3.4. Verify Oracle R Enterprise Server installation

       

      cd /db/rpt/rt400/db/ore

      ls -l *log

      -rw-r--r--   1 rt400ora dba           58 Sep 27 15:44 outcdb.log

      -rw-r--r--   1 rt400ora dba          581 Sep 27 15:47 rqconfig.log

      -rw-r--r--   1 rt400ora dba          526 Sep 27 15:48 rqgrant.log

      -rw-r--r--   1 rt400ora dba         2254 Sep 27 15:47 rqinst.log

      -rw-r--r--   1 rt400ora dba         7206 Sep 27 15:47 rqproc.log

      -rw-r--r--   1 rt400ora dba          777 Sep 27 15:48 rquser.log

       

      Examine log files to verify the success of the installation process.

       

       

      1. 3.5.    Validate Oracle R Enterprise functionality

       

      Add RQADMIN role to RQUSER.

       

      sqlplus system/<passwd>

      SQL>grant rqadmin to rquser;

       

       

      To connect Oracle R Enterprise Client to Oracle R Enterprise Server, start R using the ORE script:

       

      ORE

      Oracle Distribution of R version 3.1.1 (2014-07-10) -- "Sock it to Me"

      Copyright (C) 2014 The R Foundation for Statistical Computing

      Platform: sparc-sun-solaris2.10 (64-bit)

       

      R is free software and comes with ABSOLUTELY NO WARRANTY.

      You are welcome to redistribute it under certain conditions.

      Type 'license()' or 'licence()' for distribution details.

       

      R is a collaborative project with many contributors.

      Type 'contributors()' for more information and

      'citation()' on how to cite R or R packages in publications.

       

      Type 'demo()' for some demos, 'help()' for on-line help, or

      'help.start()' for an HTML browser interface to help.

      Type 'q()' to quit R.

       

      You are using Oracle's distribution of R. Please contact

      Oracle Support for any problems you encounter with this

      1. distribution.

       

      > library(ORE)

      Loading required package: OREbase

       

      Attaching package: 'OREbase'

       

      The following objects are masked from 'package:base':

       

      cbind, data.frame, eval, interaction, order, paste, pmax, pmin,

      rbind, table

       

      Loading required package: OREembed

      Loading required package: OREstats

      Loading required package: MASS

      Loading required package: OREgraphics

      Loading required package: OREeda

      Loading required package: OREmodels

      Loading required package: OREdm

      Loading required package: lattice

      Loading required package: OREpredict

      Loading required package: ORExml

      > ore.connect("RQUSER", password="rquser10", conn_string="", all=TRUE)

      Loading required package: ROracle

      Loading required package: DBI

      > ore.is.connected()

      [1] TRUE

      > ore.ls()

      character(0)

      > CARS <- ore.push(cars)

      > head(CARS)

      speed dist

      1     4 2

      2     4 10

      3     7 4

      4     7   22

      5     8 16

      6     9 10

      > ore.doEval(function() { 123 })

      [1] 123

      >

       

      1. 3.6. Run Oracle R Enterprise example scripts

       

      You can further verify the success of the installation by running the Oracle R Enterprise demo scripts. If a script runs to completion without errors, then the example is successful.

       

      The example scripts are located in $ORACLE_HOME/R/library/ORE/demo.

      This R command provides a list of available examples:

       

      demo(package="ORE")

       

      > demo(package="ORE")

      Demos in package 'ORE':

       

       

      aggregate               Aggregation

      analysis                Basic analysis & data processing operations

      basic                   Basic connectivity to database

      binning                 Binning logic

      columnfns               Column functions

      cor                     Correlation matrix

      crosstab                Frequency cross tabulations

      datastore               DataStore operations

      datetime                Date/Time operations

      derived                 Handling of derived columns

      distributions           Distribution, density, and quantile functions

      do_eval                 Embedded R processing

      esm                     Exponential smoothing method

      freqanalysis            Frequency cross tabulations

      glm                     Generalized Linear Models

      graphics                Demonstrates visual analysis

      group_apply             Embedded R processing by group

      hypothesis              Hyphothesis testing functions

      matrix                  Matrix related operations

      nulls                   Handling of NULL in SQL vs. NA in R

      odm_ai                  Oracle Data Mining: attribute importance

      odm_ar                  Oracle Data Mining: association rules

      odm_dt                  Oracle Data Mining: decision trees

      odm_glm                 Oracle Data Mining: generalized linear models

      odm_kmeans              Oracle Data Mining: enhanced k-means clustering

      odm_nb                  Oracle Data Mining: naive Bayes classification

      odm_nmf                 Oracle Data Mining: non-negative matrix

                              factorization

      odm_oc                  Oracle Data Mining: o-cluster

      odm_svm                 Oracle Data Mining: support vector machines

      push_pull               RDBMS <-> R data transfer

      rank                    Attributed-based ranking of observations

      reg                     Ordinary least squares linear regression

      row_apply               Embedded R processing by row chunks

      sampling                Random row sampling and partitioning of an

                              ore.frame

      sql_like                Mapping of R to SQL commands

      stepwise                Stepwise OLS linear regression

      summary                 Summary functionality

      table_apply             Embedded R processing of entire table

       

      >

       

       

      These commands run two of the examples. The aggregate script tests the use of an R function on data that is resident in database memory; the row_apply script tests embedded R execution.

       

      demo("aggregate", package="ORE")

      demo("row_apply", package="ORE")

      ====================================================

      demo("aggregate", package="ORE")

       

       

              demo(aggregate)

              ---- ~~~~~~~~~

       

      Type  <Return>   to start :

       

      > #

      > #     O R A C L E  R  E N T E R P R I S E  S A M P L E   L I B R A R Y

      > #

      > #     Name: aggregate.R

      > #     Description: Demonstrates aggregations

      > #     See also summary.R

      > #

      > #

      > #

      >

      > ## Set page width

      > options(width = 80)

       

      > # Push the built-in iris data frame to the database

      > IRIS_TABLE <- ore.push(iris)

       

      > # Display the class of IRIS_TABLE

      > class(IRIS_TABLE)

      [1] "ore.frame"

      attr(,"package")

      [1] "OREbase"

       

      > # Select count(Petal.Length) group by species

      > x = aggregate(IRIS_TABLE$Petal.Length,

      +               by = list(species = IRIS_TABLE$Species),

      +               FUN = length)

       

      > class(x)

      [1] "ore.frame"

      attr(,"package")

      [1] "OREbase"

       

      > x

                    species  x

      setosa         setosa 50

      versicolor versicolor 50

      virginica   virginica 50

       

      > # Repeat FUN = summary, mean, min, max, sd, median, IQR

      > aggregate(IRIS_TABLE$Petal.Length, by = list(species = IRIS_TABLE$Species),

      +           FUN = summary)

                    species Min. 1st Qu. Median  Mean 3rd Qu. Max. NA's

      setosa         setosa 1.0     1.4   1.50 1.462 1.575  1.9    0

      versicolor versicolor  3.0     4.0 4.35 4.260   4.600  5.1 0

      virginica   virginica 4.5     5.1   5.55 5.552 5.875  6.9    0

       

      > aggregate(IRIS_TABLE$Petal.Length, by = list(species = IRIS_TABLE$Species),

      +           FUN = mean)

                    species     x

      setosa         setosa 1.462

      versicolor versicolor 4.260

      virginica   virginica 5.552

       

      > ore.sort(data = x, by = "x", unique.keys = TRUE, unique.data = TRUE)

                        species width  x

      setosa|0.5         setosa   0.5  1

      virginica|1.5   virginica 1.5  2

      versicolor|1.1 versicolor   1.1  3

      setosa|0.1         setosa   0.1  5

      virginica|2     virginica 2.0  6

      setosa|0.3         setosa   0.3  7

      virginica|2.3   virginica 2.3  8

      versicolor|1.5 versicolor   1.5 10

      virginica|1.8   virginica 1.8 11

      versicolor|1.3 versicolor   1.3 13

      setosa|0.2         setosa   0.2 29

      >

      ====================================================

      > demo("row_apply", package="ORE")

       

       

              demo(row_apply)

              ---- ~~~~~~~~~

       

      Type  <Return>   to start :

       

      > #

      > #     O R A C L E  R  E N T E R P R I S E  S A M P L E   L I B R A R Y

      > #

      > #     Name: row_apply.R

      > #     Description: Execute R code on each row

      > #

      > #

      >

      > ## Set page width

      > options(width = 80)

       

      > # Push the built-in iris data frame to the database

      > IRIS_TABLE <- ore.push(iris)

       

      > # Display the class of IRIS_TABLE

      > class(IRIS_TABLE)

      [1] "ore.frame"

      attr(,"package")

      [1] "OREbase"

       

      > # Apply given R function to each of the first 10 rows

      > ore.rowApply(head(IRIS_TABLE, 10L),

      +              function(dat) {

      +                # Any R code goes here. Operates on one row of IRIS_TABLE at

      +                # a time

      +                cbind(dat, dat$Petal.Length)

      +              })

      $`1`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          5.1         3.5          1.4         0.2 setosa              1.4

       

      $`2`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          4.9           3          1.4         0.2 setosa              1.4

       

      $`3`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          4.7         3.2          1.3         0.2 setosa              1.3

       

      $`4`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          4.6         3.1          1.5         0.2 setosa              1.5

       

      $`5`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1            5         3.6          1.4         0.2 setosa              1.4

       

      $`6`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          5.4         3.9          1.7         0.4 setosa              1.7

       

      $`7`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          4.6         3.4          1.4         0.3 setosa              1.4

       

      $`8`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1            5         3.4          1.5 0.2  setosa              1.5

       

      $`9`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          4.4         2.9          1.4         0.2 setosa              1.4

       

      $`10`

        Sepal.Length Sepal.Width Petal.Length Petal.Width Species dat$Petal.Length

      1          4.9         3.1          1.5         0.1 setosa              1.5

       

      >

       

       

      ====================================================

       

      This command exits from R.

      q()

       

       

       

      1. 4. Install R Packages on Oracle R Enterprise

       

      1. 4.1. Copy r-installer.zip to location accessible by ORE server

       

      As obiee app user :

       

      cp /d01/app1/obiee/bi/bifoundation/advanced_analytics/r-installer.zip /export/media/software/OBIEE/orebi

       

       

      1. 4.2. Unzip r-installer.zip

       

       

      As source database owner (RT400):

       

      cd /export/media/software/OBIEE/orebi

      unzip r-installer.zip

       

      Archive:  r-installer.zip

         creating: META-INF/

        inflating: META-INF/MANIFEST.MF

        inflating: r-package-install-linux.R

        inflating: r-package-install.R

        inflating: RInstaller.bat

        inflating: proxy.txt

        inflating: README.txt

        inflating: RInstaller.sh

        inflating: r_installmanager.jar

         creating: OLE7/

        inflating: OLE7/public-yum-ol7.repo

         creating: Solaris/

        inflating: Solaris/Makeconf.x86

        inflating: Solaris/Makeconf.sparc

         creating: OBIEERPackage/

        inflating: OBIEERPackage/OBIEEAdvancedAnalytics_12.2.1.1.0.tar.gz

         creating: OLE6/

        inflating: OLE6/public-yum-ol6.repo

         creating: stage/

        inflating: stage/README.txt

       

      1. 4.3. Configure proxy server

       

      vi proxy.txt

      proxy=http://??????????????

       

      This is proxy for Development Data Center.

       

      1. 4.4. Install Oracle Solaris Studio 12.3

      Ask Unix Administrator to install if it is not available.

       

      ls -l /opt/solarisstudio12.3/bin/cc

      lrwxrwxrwx   1 root     root          14 Sep 28 14:43 /opt/solarisstudio12.3/bin/cc -> ../prod/bin/cc

       

      1. 4.5. Update R Makefile to use right path for Solaris C compiler

       

      You will need to ask Unix Admin to give write to group others for you to be able to modify it.

       

      cd /usr/lib/64/R/etc

      cp –p Makeconf Makeconf.orig

      vi Makeconf

       

      Replace the following paths:

      /opt/SunProd/studio12u3

      With

      /opt

       

      Another option would be to ask Unix Admin to install C compiler using /opt/SunProd/studio12u3 path (. Default installation using only /opt).

      This way you would avoid this modification.

       

      1. 4.6. Install required packages

       

      cd /export/media/software/OBIEE/orebi

      $ORACLE_HOME/bin/ORE -f r-package-install.R

       

      1. 5. Configure Oracle R Enterprise to work with OBIEE

       

      1. 5.1. Open your instance of Oracle BI Presentation Services and click Administration.

       

      http://esczc56wapobi03.dev.ifis.gov.on.ca:7776/analytics

       

       

      In the Administration page, click Issue SQL. The Issue SQL dialog displays.

       

       

       

      1. 5.2. In the Issue SQL dialog, enter and issue the following stored procedures:

      call NQSRegisterScript('filerepo://obiee.Clustering.xml')

      call NQSRegisterScript('filerepo://obiee.RegressionCreateModel.xml')

      call NQSRegisterScript('filerepo://obiee.RegressionScoreModel.xml')

      call NQSRegisterScript('filerepo://obiee.Outliers.xml')

      call NQSRegisterScript('filerepo://obiee.Regression.xml')

      call NQSRegisterScript('filerepo://obiee.RegressionCorrelation.xml')

      call NQSRegisterScript('filerepo://obiee.TimeSeriesForecast.xml')

       

       

       

      1. 5.3. Locate and open NQSConfig.INI and in the ADVANCED_ANALYTICS_SCRIPT section make the following updates:

       

      In the CONNECTION_POOL property, specify the name of the connection pool to be defined in the repository.

       

      For example, suppose the database name is ORE and the connection pool name is ORECP. Then in the CONNECTION_POOL property, you would enter:

      1. ORE.ORECP

      Note:

      The schema user defined in the connection pool ORECP should have RQADMIN privileges which can be granted via

      GRANT RQADMIN TO <SCHEMA_USER>.

       

      If the ORE database and the source data are located in the same database, then you can improve the speed of the R execution by setting the CONNECTION_POOL property to the source database connection pool.

      In the TARGET property, set the value to "ORE". For example, TARGET="ORE".

       

      cd /d01/app1/obiee/user_projects/domains/bi/config/fmwconfig/biconfig/OBIS

      cp -p NQSConfig.INI NQSConfig.INI.20160921

      vi NQSConfig.INI

       

      Update the following two parameters:

       

      # EXECUTION TARGET WHERE SCRIPT GETS EXECUTED

      # Defaults to Mid Tier R. The other targets are ORE, etc

      # TARGET = "R";

      TARGET = "ORE";

       

      # THE CONNECTION POOL HAS TO BE SET IF Advanced Analytics NEED TO RUN ON THE DATABASE (eg: ORE)

      # CONNECTION_POOL = "<Database>"."<Connection Pool>";

      CONNECTION_POOL = "IFIS"."IFISER Connection Pool";

       

       

       

      1. 5.4. Grant RQADMIN to user defined in the connection pool

      On the source database serever (RT400):

       

      sqlplus / as sysdba

      grant rqadmin to r3_app;

       

      1. 5.5. Bounce OBIEE

       

      1. 5.6. Test the configuration by running an Oracle BI Server query.

       

      BI developer to build query and test using R functions.

       

       

      1. 6. Appendix (Useful additional information)

       

      1. 6.1. How to test if proxy setup is correct

       

      wget -e use_proxy=yes -e http_proxy=http://xxxx.xxxx:xxxx/ http://cran.us.r-project.org

       

      1. 6.2. How to load R package manually

       

      Download package from CRAN site.

      Load package on ORE server.

      Example:

      ORE CMD INSTALL timeDate_3012.100.tar.gz

       

      1. 6.3. Issue with compilation (package Rcpp)

       

      ORE CMD INSTALL Rcpp_0.12.7.tar.gz

       

      * installing *source* package 'Rcpp' ...

      ** package 'Rcpp' successfully unpacked and MD5 sums checked

      ** libs

      /opt/solarisstudio12.3/bin/CC -m64 -I/usr/lib/64/R/include -DNDEBUG -I../inst/include/     -KPIC -g  -c Date.cpp -o Date.o

      "../inst/include/Rcpp/Interrupt.h", line 60: Warning (Anachronism): Formal argument fun of type extern "C" void(*)(void*) in call to R_ToplevelExec(extern "C" void(*)(void*), void*) is being passed void(*)(void*).

      "../inst/include/Rcpp/String.h", line 90: Warning: enc hides Rcpp::String::enc.

      "../inst/include/Rcpp/String.h", line 102: Warning: enc hides Rcpp::String::enc.

      "../inst/include/Rcpp/String.h", line 242: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_first(const char*, const char*).

      "../inst/include/Rcpp/String.h", line 268: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_last(const char*, const char*).

      "../inst/include/Rcpp/String.h", line 299: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_all(const char*, const char*).

      "../inst/include/Rcpp/String.h", line 378: Error: Could not find a match for std::wstring::basic_string(const char*, const char*) needed in Rcpp::String::operator std::wstring () const.

      "../inst/include/Rcpp/api/meat/proxy.h", line 32: Error: Could not find a match for Rcpp::AttributeProxyPolicy<Rcpp::CLASS>::AttributeProxy::operator=(const Rcpp::T&).

      "../inst/include/Rcpp/api/meat/proxy.h", line 63: Error: Could not find a match for Rcpp::NamesProxyPolicy<Rcpp::CLASS>::NamesProxy::operator=(const Rcpp::T&).

      "../inst/include/Rcpp/api/meat/proxy.h", line 84: Error: Could not find a match for Rcpp::SlotProxyPolicy<Rcpp::CLASS>::SlotProxy::operator=(const Rcpp::T&).

      "../inst/include/Rcpp/api/meat/proxy.h", line 99: Error: Could not find a match for Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::operator=<Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::U>(const Rcpp::T&).

      "../inst/include/Rcpp/api/meat/proxy.h", line 130: Error: Could not find a match for Rcpp::BindingPolicy<Rcpp::EnvironmentClass>::Binding::operator=(const Rcpp::T&).

      "../inst/include/Rcpp/api/meat/proxy.h", line 151: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::T&).

      "../inst/include/Rcpp/api/meat/proxy.h", line 159: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::traits::named_object<Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::T>&).

      "../inst/include/Rcpp/api/meat/proxy.h", line 186: Error: Could not find a match for Rcpp::FieldProxyPolicy<Rcpp::CLASS>::FieldProxy::operator=(const Rcpp::T&).

      "../inst/include/Rcpp/algorithm.h", line 211: Error: iterator_traits is not a member of std.

      "../inst/include/Rcpp/algorithm.h", line 211: Error: "," expected instead of "<".

      "../inst/include/Rcpp/algorithm.h", line 211: Error: Illegal value for template parameter.

      "../inst/include/Rcpp/algorithm.h", line 211: Error: value_type is not a member of Rcpp::algorithm::helpers::decays_to_ctype<int>.

      "../inst/include/Rcpp/algorithm.h", line 211: Error: value is not defined.

      "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration does not specify a tag or an identifier.

      "../inst/include/Rcpp/algorithm.h", line 211: Error: Templates can only declare classes or functions.

      "../inst/include/Rcpp/algorithm.h", line 211: Error: Use ";" to terminate statements.

      "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration was expected instead of ",".

      "../inst/include/Rcpp/algorithm.h", line 212: Error: iterator_traits is not a member of std.

      "../inst/include/Rcpp/algorithm.h", line 212: Error: "," expected instead of "<".

      "../inst/include/Rcpp/algorithm.h", line 212: Error: Illegal value for template parameter.

      "../inst/include/Rcpp/algorithm.h", line 212: Error: value_type is not a member of Rcpp::algorithm::helpers::ctype<int>.

      Compilation aborted, too many Error messages.

      *** Error code 2

      make: Fatal error: Command failed for target `Date.o'

      ERROR: compilation failed for package 'Rcpp'

      * removing '/db/rpt/rt400/db/11.2.0/R/library/Rcpp'

       

       

      And this is the error I get.

       

      Any suggestions are appreciated

       

      Thanks

      Nithin

        • 1. Re: OBIIE - Oracle R Enterprise integration - cannot compile Rcpp package
          Sherry Lamonica-Oracle

          The SunStudio C++ compiler you are using has an older STL, which can't handle modern C++.  In order to use a modern STL one needs to use:

          .

             -library=stlport4 --> (Solaris 11 and later)

          or

             -std=c++03 (g++ STL/binary compatible mode)--> (Solaris 10/11/12)

          .

           

          Here are the build and linker flags for C++ in my Solaris 10 and 11 environments where Rcpp compiles successfully:

          .

          CXX="$(SOLSTUDIO12u4BIN)/CC -m64 -std=c++03" \

          .

          CXXFLAGS="-xO3 -m64 -std=c++03" \

          .

          LDFLAGS="-L$(ADE_VIEW_ROOT)/systemr/lib -Wl,-rpath

          $(ADE_VIEW_ROOT)/systemr/lib" LIBS="-liconv -lncurses -lreadline -lbz2

          -lstdc++ -lgcc_s -lCrunG3 -lrt -lm -lc"

           

          These settings may be set in the Rcpp Makevars file, in your user profile under: $HOME/.R/Makevars, or in $R_HOME/etc/Makeconf.

           

          Refer to these R manuals for more detail on customized build configurations:

          https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Using-Makevars

          https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Customizing-package-compilation

           

          Sherry

          • 2. Re: OBIIE - Oracle R Enterprise integration - cannot compile Rcpp package
            Nithin S-Oracle

            Hello SHerry,

             

            Thanks so much for your reply

             

            We have updated R_HOME/etc/Makeconf file to add additional flags :

            CXX = /opt/solarisstudio12.3/bin/CC -m64 -std=c++03
            CXXFLAGS = -g $(LTO) -xO3 -m64 -std=c++03

            LDFLAGS does not exist in Makeconf file.

             

            LOG FILE

            #####################################################################

            Script started on December 22, 2016 11:43:08 AM EST

            rt400ora@unhs205-db-a{db}[/export/media/software/OBIEE/orebi]#$ORACLE_HOME/bin/ORE -f r-package-install.R

             

             

            Oracle Distribution of R version 3.1.1 (2014-07-10) -- "Sock it to Me"

            Copyright (C) 2014 The R Foundation for Statistical Computing

            Platform: sparc-sun-solaris2.10 (64-bit)

             

             

            R is free software and comes with ABSOLUTELY NO WARRANTY.

            You are welcome to redistribute it under certain conditions.

            Type 'license()' or 'licence()' for distribution details.

             

             

            R is a collaborative project with many contributors.

            Type 'contributors()' for more information and

            'citation()' on how to cite R or R packages in publications.

             

             

            Type 'demo()' for some demos, 'help()' for on-line help, or

            'help.start()' for an HTML browser interface to help.

            Type 'q()' to quit R.

             

             

            You are using Oracle's distribution of R. Please contact

            Oracle Support for any problems you encounter with this

            distribution.

             

             

            > args<- commandArgs(TRUE)

            > proxyType=paste(args[1])

            > proxy=paste(args[2])

            >

            > if(is.na(proxy)|| proxy=="NA"){

            +     proxy<-read.table("proxy.txt", header=FALSE, sep="=", stringsAsFactors=FALSE)[,2]

            +     if(proxy != "http://[proxy-host:proxy-port]"){

            +         print("### Using proxy defined in proxy.txt ###")

            +         Sys.setenv(http_proxy=proxy) 

            +     }else{

            +         print("### Proxy is not defined in proxy.txt, ignoring the same ###")

            +     }

            + }else{

            +         print("### Using proxy provided in command line ###")

            +         print(paste("ProxyType", proxyType, sep="="))

            +         print(paste("Proxy", proxy, sep="="))

            +        

            +         if(proxyType == "https"){

            +             Sys.setenv(https_proxy=paste("https://",proxy,sep=""))

            +         }

            +        

            +         if(proxyType == "http"){

            +             Sys.setenv(http_proxy=paste("http://",proxy,sep=""))

            +         }

            + }

            [1] "### Using proxy defined in proxy.txt ###"

            >

            > install.packages("forecast", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            Warning: dependency 'tibble' is not available

            also installing the dependencies 'stringi', 'stringr', 'plyr', 'reshape2', 'scales', 'Rcpp', 'ggplot2', 'RcppArmadillo'

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringi_1.1.2.tar.gz'

            Content type 'application/x-gzip' length 3644855 bytes (3.5 Mb)

            opened URL

            ==================================================

            downloaded 3.5 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringr_1.1.0.tar.gz'

            Content type 'application/x-gzip' length 63174 bytes (61 Kb)

            opened URL

            ==================================================

            downloaded 61 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/plyr_1.8.4.tar.gz'

            Content type 'application/x-gzip' length 392451 bytes (383 Kb)

            opened URL

            ==================================================

            downloaded 383 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/reshape2_1.4.2.tar.gz'

            Content type 'application/x-gzip' length 34688 bytes (33 Kb)

            opened URL

            ==================================================

            downloaded 33 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/scales_0.4.1.tar.gz'

            Content type 'application/x-gzip' length 57703 bytes (56 Kb)

            opened URL

            ==================================================

            downloaded 56 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/Rcpp_0.12.8.tar.gz'

            Content type 'application/x-gzip' length 2435852 bytes (2.3 Mb)

            opened URL

            ==================================================

            downloaded 2.3 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/ggplot2_2.2.0.tar.gz'

            Content type 'application/x-gzip' length 2210334 bytes (2.1 Mb)

            opened URL

            ==================================================

            downloaded 2.1 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/RcppArmadillo_0.7.600.1.0.tar.gz'

            Content type 'application/x-gzip' length 1070803 bytes (1.0 Mb)

            opened URL

            ==================================================

            downloaded 1.0 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/forecast_7.3.tar.gz'

            Content type 'application/x-gzip' length 308850 bytes (301 Kb)

            opened URL

            ==================================================

            downloaded 301 Kb

             

             

            * installing *source* package 'stringi' ...

            ** package 'stringi' successfully unpacked and MD5 sums checked

            checking for local ICUDT_DIR... icu55/data

            checking for R_HOME... /usr/lib/64/R

            checking for R... /usr/lib/64/R/bin/R

            checking for R >= 3.1.0... yes

            checking for cat... /bin/cat

            checking for gcc... /opt/solarisstudio12.3/bin/cc -xc99 -m64

            checking whether the C compiler works... yes

            checking for C compiler default output file name... a.out

            checking for suffix of executables...

            checking whether we are cross compiling... no

            checking for suffix of object files... o

            checking whether we are using the GNU C compiler... no

            checking whether /opt/solarisstudio12.3/bin/cc -xc99 -m64 accepts -g... yes

            checking for /opt/solarisstudio12.3/bin/cc -xc99 -m64 option to accept ISO C89... none needed

            checking how to run the C preprocessor... /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -E

            checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

            checking for egrep... /usr/xpg4/bin/grep -E

            checking for ANSI C header files... yes

            checking for sys/types.h... yes

            checking for sys/stat.h... yes

            checking for stdlib.h... yes

            checking for string.h... yes

            checking for memory.h... yes

            checking for strings.h... yes

            checking for inttypes.h... yes

            checking for stdint.h... yes

            checking for unistd.h... yes

            checking elf.h usability... yes

            checking elf.h presence... yes

            checking for elf.h... yes

            checking whether we are using the GNU C++ compiler... no

            checking whether   accepts -g... no

            checking whether the C++ compiler supports the long long type... no

            *** trying with disabled C++11 compiler

            checking whether we are using the GNU C++ compiler... no

            checking whether /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 accepts -g... yes

            checking whether the C++ compiler supports the long long type... no

            *** verify your C++ compiler's abilities (long long, STL, etc. support)

            ERROR: configuration failed for package 'stringi'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringi'

            * installing *source* package 'Rcpp' ...

            ** package 'Rcpp' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG -I../inst/include/     -KPIC  -g  -xO3 -m64 -std=c++03 -c Date.cpp -o Date.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "../inst/include/Rcpp/Interrupt.h", line 60: Warning (Anachronism): Formal argument fun of type extern "C" void(*)(void*) in call to R_ToplevelExec(extern "C" void(*)(void*), void*) is being passed void(*)(void*).

            "../inst/include/Rcpp/String.h", line 90: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 102: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 242: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_first(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 268: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_last(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 299: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_all(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 378: Error: Could not find a match for std::wstring::basic_string(const char*, const char*) needed in Rcpp::String::operator std::wstring () const.

            "../inst/include/Rcpp/api/meat/proxy.h", line 32: Error: Could not find a match for Rcpp::AttributeProxyPolicy<Rcpp::CLASS>::AttributeProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 63: Error: Could not find a match for Rcpp::NamesProxyPolicy<Rcpp::CLASS>::NamesProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 84: Error: Could not find a match for Rcpp::SlotProxyPolicy<Rcpp::CLASS>::SlotProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 99: Error: Could not find a match for Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::operator=<Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::U>(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 130: Error: Could not find a match for Rcpp::BindingPolicy<Rcpp::EnvironmentClass>::Binding::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 151: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 159: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::traits::named_object<Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::T>&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 186: Error: Could not find a match for Rcpp::FieldProxyPolicy<Rcpp::CLASS>::FieldProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/algorithm.h", line 211: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value_type is not a member of Rcpp::algorithm::helpers::decays_to_ctype<int>.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value is not defined.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration does not specify a tag or an identifier.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Templates can only declare classes or functions.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Use ";" to terminate statements.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration was expected instead of ",".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: value_type is not a member of Rcpp::algorithm::helpers::ctype<int>.

            Compilation aborted, too many Error messages.

            *** Error code 2

            make: Fatal error: Command failed for target `Date.o'

            ERROR: compilation failed for package 'Rcpp'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/Rcpp'

            ERROR: dependency 'stringi' is not available for package 'stringr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringr'

            ERROR: dependency 'Rcpp' is not available for package 'plyr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/plyr'

            ERROR: dependency 'Rcpp' is not available for package 'RcppArmadillo'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/RcppArmadillo'

            ERROR: dependencies 'plyr', 'stringr', 'Rcpp' are not available for package 'reshape2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/reshape2'

            ERROR: dependencies 'plyr', 'Rcpp' are not available for package 'scales'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/scales'

            ERROR: dependencies 'plyr', 'reshape2', 'scales', 'tibble' are not available for package 'ggplot2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/ggplot2'

            ERROR: dependencies 'Rcpp', 'ggplot2', 'RcppArmadillo' are not available for package 'forecast'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/forecast'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            Warning messages:

            1: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'stringi' had non-zero exit status

            2: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'Rcpp' had non-zero exit status

            3: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'stringr' had non-zero exit status

            4: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'plyr' had non-zero exit status

            5: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'RcppArmadillo' had non-zero exit status

            6: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'reshape2' had non-zero exit status

            7: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'scales' had non-zero exit status

            8: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'ggplot2' had non-zero exit status

            9: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'forecast' had non-zero exit status

            > install.packages("mvoutlier", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            Warning: dependencies 'car', 'tibble' are not available

            also installing the dependencies 'stringi', 'stringr', 'plyr', 'reshape2', 'scales', 'mvtnorm', 'pcaPP', 'reshape', 'Rcpp', 'ggplot2', 'e1071', 'rrcov', 'fpc', 'GGally', 'kernlab', 'VIM', 'robCompositions'

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringi_1.1.2.tar.gz'

            Content type 'application/x-gzip' length 3644855 bytes (3.5 Mb)

            opened URL

            ==================================================

            downloaded 3.5 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringr_1.1.0.tar.gz'

            Content type 'application/x-gzip' length 63174 bytes (61 Kb)

            opened URL

            ==================================================

            downloaded 61 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/plyr_1.8.4.tar.gz'

            Content type 'application/x-gzip' length 392451 bytes (383 Kb)

            opened URL

            ==================================================

            downloaded 383 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/reshape2_1.4.2.tar.gz'

            Content type 'application/x-gzip' length 34688 bytes (33 Kb)

            opened URL

            ==================================================

            downloaded 33 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/scales_0.4.1.tar.gz'

            Content type 'application/x-gzip' length 57703 bytes (56 Kb)

            opened URL

            ==================================================

            downloaded 56 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/mvtnorm_1.0-5.tar.gz'

            Content type 'application/x-gzip' length 158480 bytes (154 Kb)

            opened URL

            ==================================================

            downloaded 154 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/pcaPP_1.9-61.tar.gz'

            Content type 'application/x-gzip' length 192050 bytes (187 Kb)

            opened URL

            ==================================================

            downloaded 187 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/reshape_0.8.6.tar.gz'

            Content type 'application/x-gzip' length 42554 bytes (41 Kb)

            opened URL

            ==================================================

            downloaded 41 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/Rcpp_0.12.8.tar.gz'

            Content type 'application/x-gzip' length 2435852 bytes (2.3 Mb)

            opened URL

            ==================================================

            downloaded 2.3 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/ggplot2_2.2.0.tar.gz'

            Content type 'application/x-gzip' length 2210334 bytes (2.1 Mb)

            opened URL

            ==================================================

            downloaded 2.1 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/e1071_1.6-7.tar.gz'

            Content type 'application/x-gzip' length 600498 bytes (586 Kb)

            opened URL

            ==================================================

            downloaded 586 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/rrcov_1.4-3.tar.gz'

            Content type 'application/x-gzip' length 1017409 bytes (993 Kb)

            opened URL

            ==================================================

            downloaded 993 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/fpc_2.1-10.tar.gz'

            Content type 'application/x-gzip' length 146746 bytes (143 Kb)

            opened URL

            ==================================================

            downloaded 143 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/GGally_1.3.0.tar.gz'

            Content type 'application/x-gzip' length 1025889 bytes (1001 Kb)

            opened URL

            ==================================================

            downloaded 1001 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/kernlab_0.9-25.tar.gz'

            Content type 'application/x-gzip' length 1170281 bytes (1.1 Mb)

            opened URL

            ==================================================

            downloaded 1.1 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/VIM_4.6.0.tar.gz'

            Content type 'application/x-gzip' length 329224 bytes (321 Kb)

            opened URL

            ==================================================

            downloaded 321 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/robCompositions_2.0.2.tar.gz'

            Content type 'application/x-gzip' length 1252074 bytes (1.2 Mb)

            opened URL

            ==================================================

            downloaded 1.2 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/mvoutlier_2.0.6.tar.gz'

            Content type 'application/x-gzip' length 477197 bytes (466 Kb)

            opened URL

            ==================================================

            downloaded 466 Kb

             

             

            * installing *source* package 'stringi' ...

            ** package 'stringi' successfully unpacked and MD5 sums checked

            checking for local ICUDT_DIR... icu55/data

            checking for R_HOME... /usr/lib/64/R

            checking for R... /usr/lib/64/R/bin/R

            checking for R >= 3.1.0... yes

            checking for cat... /bin/cat

            checking for gcc... /opt/solarisstudio12.3/bin/cc -xc99 -m64

            checking whether the C compiler works... yes

            checking for C compiler default output file name... a.out

            checking for suffix of executables...

            checking whether we are cross compiling... no

            checking for suffix of object files... o

            checking whether we are using the GNU C compiler... no

            checking whether /opt/solarisstudio12.3/bin/cc -xc99 -m64 accepts -g... yes

            checking for /opt/solarisstudio12.3/bin/cc -xc99 -m64 option to accept ISO C89... none needed

            checking how to run the C preprocessor... /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -E

            checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

            checking for egrep... /usr/xpg4/bin/grep -E

            checking for ANSI C header files... yes

            checking for sys/types.h... yes

            checking for sys/stat.h... yes

            checking for stdlib.h... yes

            checking for string.h... yes

            checking for memory.h... yes

            checking for strings.h... yes

            checking for inttypes.h... yes

            checking for stdint.h... yes

            checking for unistd.h... yes

            checking elf.h usability... yes

            checking elf.h presence... yes

            checking for elf.h... yes

            checking whether we are using the GNU C++ compiler... no

            checking whether   accepts -g... no

            checking whether the C++ compiler supports the long long type... no

            *** trying with disabled C++11 compiler

            checking whether we are using the GNU C++ compiler... no

            checking whether /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 accepts -g... yes

            checking whether the C++ compiler supports the long long type... no

            *** verify your C++ compiler's abilities (long long, STL, etc. support)

            ERROR: configuration failed for package 'stringi'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringi'

            * installing *source* package 'mvtnorm' ...

            ** package 'mvtnorm' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c C_FORTRAN_interface.c -o C_FORTRAN_interface.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c miwa.c -o miwa.o

            /opt/solarisstudio12.3/bin/f95 -m64   -PIC  -g  -c mvt.f -o mvt.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c mvtnorm-init.c -o mvtnorm-init.o

            /opt/solarisstudio12.3/bin/f95 -m64   -PIC  -g  -c tvpack.f -o tvpack.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G -o mvtnorm.so C_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR

            ld: fatal: relocation error: R_SPARC_H44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_M44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_L44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_L44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_L44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            *** Error code 2

            The following command caused the error:

            if test  "zC_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o" != "z"; then \

              echo /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G  -o mvtnorm.so C_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o  -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR; \

              /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G  -o mvtnorm.so C_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o  -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR; \

            fi

            make: Fatal error: Command failed for target `mvtnorm.so'

            ERROR: compilation failed for package 'mvtnorm'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/mvtnorm'

            * installing *source* package 'Rcpp' ...

            ** package 'Rcpp' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG -I../inst/include/     -KPIC  -g  -xO3 -m64 -std=c++03 -c Date.cpp -o Date.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "../inst/include/Rcpp/Interrupt.h", line 60: Warning (Anachronism): Formal argument fun of type extern "C" void(*)(void*) in call to R_ToplevelExec(extern "C" void(*)(void*), void*) is being passed void(*)(void*).

            "../inst/include/Rcpp/String.h", line 90: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 102: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 242: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_first(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 268: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_last(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 299: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_all(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 378: Error: Could not find a match for std::wstring::basic_string(const char*, const char*) needed in Rcpp::String::operator std::wstring () const.

            "../inst/include/Rcpp/api/meat/proxy.h", line 32: Error: Could not find a match for Rcpp::AttributeProxyPolicy<Rcpp::CLASS>::AttributeProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 63: Error: Could not find a match for Rcpp::NamesProxyPolicy<Rcpp::CLASS>::NamesProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 84: Error: Could not find a match for Rcpp::SlotProxyPolicy<Rcpp::CLASS>::SlotProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 99: Error: Could not find a match for Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::operator=<Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::U>(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 130: Error: Could not find a match for Rcpp::BindingPolicy<Rcpp::EnvironmentClass>::Binding::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 151: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 159: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::traits::named_object<Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::T>&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 186: Error: Could not find a match for Rcpp::FieldProxyPolicy<Rcpp::CLASS>::FieldProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/algorithm.h", line 211: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value_type is not a member of Rcpp::algorithm::helpers::decays_to_ctype<int>.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value is not defined.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration does not specify a tag or an identifier.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Templates can only declare classes or functions.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Use ";" to terminate statements.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration was expected instead of ",".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: value_type is not a member of Rcpp::algorithm::helpers::ctype<int>.

            Compilation aborted, too many Error messages.

            *** Error code 2

            make: Fatal error: Command failed for target `Date.o'

            ERROR: compilation failed for package 'Rcpp'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/Rcpp'

            * installing *source* package 'e1071' ...

            ** package 'e1071' successfully unpacked and MD5 sums checked

            checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables

            See `config.log' for more details.

            ERROR: configuration failed for package 'e1071'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/e1071'

            * installing *source* package 'kernlab' ...

            ** package 'kernlab' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c brweight.cpp -o brweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c ctable.cpp -o ctable.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c cweight.cpp -o cweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dbreakpt.c -o dbreakpt.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dcauchy.c -o dcauchy.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dgpnrm.c -o dgpnrm.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dgpstep.c -o dgpstep.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dprecond.c -o dprecond.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dprsrch.c -o dprsrch.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dspcg.c -o dspcg.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dtron.c -o dtron.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dtrpcg.c -o dtrpcg.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dtrqsol.c -o dtrqsol.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c esa.cpp -o esa.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c expdecayweight.cpp -o expdecayweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c inductionsort.cpp -o inductionsort.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c kspectrumweight.cpp -o kspectrumweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c lcp.cpp -o lcp.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c misc.c -o misc.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c msufsort.cpp -o msufsort.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c solvebqp.c -o solvebqp.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c stringk.c -o stringk.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c stringkernel.cpp -o stringkernel.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c svm.cpp -o svm.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "svm.cpp", line 590: Warning: l hides Solver::l.

            "svm.cpp", line 590: Warning: Q hides Solver::Q.

            "svm.cpp", line 591: Warning: Cp hides Solver::Cp.

            "svm.cpp", line 591: Warning: Cn hides Solver::Cn.

            "svm.cpp", line 591: Warning: eps hides Solver::eps.

            "svm.cpp", line 1095: Warning: l hides Solver::l.

            "svm.cpp", line 1095: Warning: Q hides Solver::Q.

            "svm.cpp", line 1095: Warning: p hides Solver::p.

            "svm.cpp", line 1095: Warning: y hides Solver::y.

            "svm.cpp", line 1096: Warning: alpha hides Solver::alpha.

            "svm.cpp", line 1096: Warning: Cp hides Solver::Cp.

            "svm.cpp", line 1096: Warning: Cn hides Solver::Cn.

            "svm.cpp", line 1096: Warning: eps hides Solver::eps.

            "svm.cpp", line 1097: Warning: si hides Solver_NU::si.

            "svm.cpp", line 1423: Warning: l hides Solver_SPOC::l.

            "svm.cpp", line 1423: Warning: Q hides Solver_SPOC::Q.

            "svm.cpp", line 1424: Warning: eps hides Solver_SPOC::eps.

            "svm.cpp", line 1424: Warning: nr_class hides Solver_SPOC::nr_class.

            "svm.cpp", line 1672: Warning: C hides Solver_SPOC::C.

            "svm.cpp", line 1790: Warning: l hides Solver_B::l.

            "svm.cpp", line 1790: Warning: Q hides Solver_B::Q.

            "svm.cpp", line 1791: Warning: Cp hides Solver_B::Cp.

            "svm.cpp", line 1791: Warning: Cn hides Solver_B::Cn.

            "svm.cpp", line 1791: Warning: eps hides Solver_B::eps.

            "svm.cpp", line 1792: Warning: qpsize hides Solver_B::qpsize.

            "svm.cpp", line 2168: Warning: Solver_B_linear::Solve hides the virtual function Solver_B::Solve(int, const Kernel&, double*, signed char*, double*, double, double, double, Solver_B::SolutionInfo*, int, int).

            "svm.cpp", line 2217: Warning: l hides Solver_B::l.

            "svm.cpp", line 2218: Warning: w hides Solver_B_linear::w.

            "svm.cpp", line 2218: Warning: Cp hides Solver_B_linear::Cp.

            "svm.cpp", line 2218: Warning: Cn hides Solver_B_linear::Cn.

            "svm.cpp", line 2218: Warning: eps hides Solver_B::eps.

            "svm.cpp", line 2219: Warning: qpsize hides Solver_B::qpsize.

            "svm.cpp", line 2466: Warning: Solver_MB::Solve hides the virtual function Solver_B::Solve(int, const Kernel&, double*, signed char*, double*, double, double, double, Solver_B::SolutionInfo*, int, int).

            "svm.cpp", line 2555: Warning: l hides Solver_B::l.

            "svm.cpp", line 2555: Warning: Q hides Solver_B::Q.

            "svm.cpp", line 2555: Warning: lin hides Solver_MB::lin.

            "svm.cpp", line 2556: Warning: eps hides Solver_B::eps.

            "svm.cpp", line 2557: Warning: qpsize hides Solver_B::qpsize.

            "svm.cpp", line 2557: Warning: nr_class hides Solver_MB::nr_class.

            39 Warning(s) detected.

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c wkasailcp.cpp -o wkasailcp.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c wmsufsort.cpp -o wmsufsort.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G -o kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o -xlic_lib=sunperf -lsunmath -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            ld: fatal: option -d has illegal argument '=c++03'

            ld: fatal: flags processing errors

            *** Error code 2

            The following command caused the error:

            if test  "zbrweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o" != "z"; then \

              echo /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o  -xlic_lib=sunperf -lsunmath -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm  -L/usr/lib/64/R/lib -lR; \

              /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o  -xlic_lib=sunperf -lsunmath -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm  -L/usr/lib/64/R/lib -lR; \

            fi

            make: Fatal error: Command failed for target `kernlab.so'

            ERROR: compilation failed for package 'kernlab'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/kernlab'

            ERROR: dependency 'stringi' is not available for package 'stringr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringr'

            ERROR: dependency 'Rcpp' is not available for package 'plyr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/plyr'

            ERROR: dependency 'mvtnorm' is not available for package 'pcaPP'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/pcaPP'

            ERROR: dependencies 'mvtnorm', 'kernlab' are not available for package 'fpc'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/fpc'

            ERROR: dependencies 'car', 'e1071', 'Rcpp' are not available for package 'VIM'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/VIM'

            ERROR: dependencies 'plyr', 'stringr', 'Rcpp' are not available for package 'reshape2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/reshape2'

            ERROR: dependencies 'plyr', 'Rcpp' are not available for package 'scales'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/scales'

            ERROR: dependency 'plyr' is not available for package 'reshape'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/reshape'

            ERROR: dependencies 'mvtnorm', 'pcaPP' are not available for package 'rrcov'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/rrcov'

            ERROR: dependencies 'plyr', 'reshape2', 'scales', 'tibble' are not available for package 'ggplot2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/ggplot2'

            ERROR: dependencies 'ggplot2', 'plyr', 'reshape' are not available for package 'GGally'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/GGally'

            ERROR: dependencies 'ggplot2', 'car', 'e1071', 'rrcov', 'fpc', 'GGally', 'kernlab', 'VIM' are not available for package 'robCompositions'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/robCompositions'

            ERROR: dependency 'robCompositions' is not available for package 'mvoutlier'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/mvoutlier'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            There were 18 warnings (use warnings() to see them)

            > install.packages("RJSONIO", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/RJSONIO_1.3-0.tar.gz'

            Content type 'application/x-gzip' length 1148375 bytes (1.1 Mb)

            opened URL

            ==================================================

            downloaded 1.1 Mb

             

             

            * installing *source* package 'RJSONIO' ...

            ** package 'RJSONIO' successfully unpacked and MD5 sums checked

            Trying to find libjson.h header file

            checking for gcc... no

            checking for cc... no

            checking for cl.exe... no

            configure: error: in `/tmp/RtmpLm47TN/R.INSTALL2fc523471b85/RJSONIO':

            configure: error: no acceptable C compiler found in $PATH

            See `config.log' for more details

            ERROR: configuration failed for package 'RJSONIO'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/RJSONIO'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            Warning message:

            In install.packages("RJSONIO", repos = "http://cran.us.r-project.org") :

              installation of package 'RJSONIO' had non-zero exit status

            > install.packages("matrixcalc", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/matrixcalc_1.0-3.tar.gz'

            Content type 'application/x-gzip' length 28499 bytes (27 Kb)

            opened URL

            ==================================================

            downloaded 27 Kb

             

             

            * installing *source* package 'matrixcalc' ...

            ** package 'matrixcalc' successfully unpacked and MD5 sums checked

            ** R

            ** preparing package for lazy loading

            ** help

            *** installing help indices

              converting help for package 'matrixcalc'

                finding HTML links ... done

                D.matrix                                html 

                E.matrices                              html 

                H.matrices                              html 

                K.matrix                                html 

                L.matrix                                html 

                N.matrix                                html 

                T.matrices                              html 

                commutation.matrix                      html 

                creation.matrix                         html 

                direct.prod                             html 

                direct.sum                              html 

                duplication.matrix                      html 

                elimination.matrix                      html 

                entrywise.norm                          html 

                fibonacci.matrix                        html 

                frobenius.matrix                        html 

                frobenius.norm                          html 

                frobenius.prod                          html 

                hadamard.prod                           html 

                hankel.matrix                           html 

                hilbert.matrix                          html 

                hilbert.schmidt.norm                    html 

                inf.norm                                html 

                is.diagonal.matrix                      html 

                is.idempotent.matrix                    html 

                is.indefinite                           html 

                is.negative.definite                    html 

                is.negative.semi.definite               html 

                is.non.singular.matrix                  html 

                is.positive.definite                    html 

                is.positive.semi.definite               html 

                is.singular.matrix                      html 

                is.skew.symmetric.matrix                html 

                is.square.matrix                        html 

                is.symmetric.matrix                     html 

                lower.triangle                          html 

                lu.decomposition                        html 

                matrix.inverse                          html 

                matrix.power                            html 

                matrix.rank                             html 

                matrix.trace                            html 

                maximum.norm                            html 

                one.norm                                html 

                pascal.matrix                           html 

                s                                       html 

                set.submatrix                           html 

                shift.down                              html 

                shift.left                              html 

                shift.right                             html 

                shift.up                                html 

                spectral.norm                           html 

                stirling.matrix                         html 

                svd.inverse                             html 

                symmetric.pascal.matrix                 html 

                toeplitz.matrix                         html 

                u.vectors                               html 

                upper.triangle                          html 

                vandermonde.matrix                      html 

                vec                                     html 

                vech                                    html 

            ** building package indices

            ** testing if installed package can be loaded

            * DONE (matrixcalc)

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            > install.packages("randomForest", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/randomForest_4.6-12.tar.gz'

            Content type 'application/x-gzip' length 79566 bytes (77 Kb)

            opened URL

            ==================================================

            downloaded 77 Kb

             

             

            * installing *source* package 'randomForest' ...

            ** package 'randomForest' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c classTree.c -o classTree.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c regTree.c -o regTree.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c regrf.c -o regrf.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c rf.c -o rf.o

            /opt/solarisstudio12.3/bin/f95 -m64   -PIC  -g  -c rfsub.f -o rfsub.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c rfutils.c -o rfutils.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G -o randomForest.so classTree.o regTree.o regrf.o rf.o rfsub.o rfutils.o -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR

            installing to /db/rpt/rt400/db/11.2.0/R/library/randomForest/libs

            ** R

            ** data

            ** inst

            ** preparing package for lazy loading

            ** help

            *** installing help indices

              converting help for package 'randomForest'

                finding HTML links ... done

                MDSplot                                 html 

                classCenter                             html 

                combine                                 html 

                getTree                                 html 

                grow                                    html 

                importance                              html 

                imports85                               html 

                margin                                  html 

                na.roughfix                             html 

                outlier                                 html 

                partialPlot                             html 

                plot.randomForest                       html 

                predict.randomForest                    html 

                randomForest                            html 

                rfImpute                                html 

                rfNews                                  html 

                rfcv                                    html 

                treesize                                html 

                tuneRF                                  html 

                varImpPlot                              html 

                varUsed                                 html 

            ** building package indices

            ** testing if installed package can be loaded

            * DONE (randomForest)

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            > install.packages("NbClust", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/NbClust_3.0.tar.gz'

            Content type 'application/x-gzip' length 22211 bytes (21 Kb)

            opened URL

            ==================================================

            downloaded 21 Kb

             

             

            * installing *source* package 'NbClust' ...

            ** package 'NbClust' successfully unpacked and MD5 sums checked

            ** R

            ** inst

            ** preparing package for lazy loading

            ** help

            *** installing help indices

              converting help for package 'NbClust'

                finding HTML links ... done

                NbClust                                 html 

            ** building package indices

            ** testing if installed package can be loaded

            * DONE (NbClust)

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            > install.packages("ROCR", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            also installing the dependencies 'caTools', 'gplots'

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/caTools_1.17.1.tar.gz'

            Content type 'application/x-gzip' length 63358 bytes (61 Kb)

            opened URL

            ==================================================

            downloaded 61 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/gplots_3.0.1.tar.gz'

            Content type 'application/x-gzip' length 578626 bytes (565 Kb)

            opened URL

            ==================================================

            downloaded 565 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/ROCR_1.0-7.tar.gz'

            Content type 'application/x-gzip' length 107872 bytes (105 Kb)

            opened URL

            ==================================================

            downloaded 105 Kb

             

             

            * installing *source* package 'caTools' ...

            ** package 'caTools' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c Gif2R.cpp -o Gif2R.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c GifTools.cpp -o GifTools.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "GifTools.cpp", line 131: Warning: BlockSize hides BitPacker::BlockSize.

            1 Warning(s) detected.

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c runfunc.c -o runfunc.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G -o caTools.so Gif2R.o GifTools.o runfunc.o -L/usr/lib/64/R/lib -lR

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            ld: fatal: option -d has illegal argument '=c++03'

            ld: fatal: flags processing errors

            *** Error code 2

            The following command caused the error:

            if test  "zGif2R.o GifTools.o runfunc.o" != "z"; then \

              echo /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o caTools.so Gif2R.o GifTools.o runfunc.o   -L/usr/lib/64/R/lib -lR; \

              /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o caTools.so Gif2R.o GifTools.o runfunc.o   -L/usr/lib/64/R/lib -lR; \

            fi

            make: Fatal error: Command failed for target `caTools.so'

            ERROR: compilation failed for package 'caTools'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/caTools'

            ERROR: dependency 'caTools' is not available for package 'gplots'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/gplots'

            ERROR: dependency 'gplots' is not available for package 'ROCR'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/ROCR'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            Warning messages:

            1: In install.packages("ROCR", repos = "http://cran.us.r-project.org") :

              installation of package 'caTools' had non-zero exit status

            2: In install.packages("ROCR", repos = "http://cran.us.r-project.org") :

              installation of package 'gplots' had non-zero exit status

            3: In install.packages("ROCR", repos = "http://cran.us.r-project.org") :

              installation of package 'ROCR' had non-zero exit status

            > install.packages("./OBIEERPackage/OBIEEAdvancedAnalytics_12.2.1.1.0.tar.gz", repos=NULL, type="source")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            ERROR: dependencies 'forecast', 'mvoutlier' are not available for package 'OBIEEAdvancedAnalytics'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/OBIEEAdvancedAnalytics'

            Warning message:

            In install.packages("./OBIEERPackage/OBIEEAdvancedAnalytics_12.2.1.1.0.tar.gz",  :

              installation of package './OBIEERPackage/OBIEEAdvancedAnalytics_12.2.1.1.0.tar.gz' had non-zero exit status

            > sessionInfo()

            Oracle Distribution of R version 3.1.1 (2014-07-10)

            Platform: sparc-sun-solaris2.10 (64-bit)

             

             

            locale:

            [1] /en_CA.ISO8859-1/C/en_CA.ISO8859-1/en_CA.ISO8859-1/en_CA.ISO8859-1/C

            Script started on December 22, 2016 11:43:08 AM EST

            rt400ora@unhs205-db-a{db}[/export/media/software/OBIEE/orebi]#$ORACLE_HOME/bin/ORE -f r-package-install.R

             

             

            Oracle Distribution of R version 3.1.1 (2014-07-10) -- "Sock it to Me"

            Copyright (C) 2014 The R Foundation for Statistical Computing

            Platform: sparc-sun-solaris2.10 (64-bit)

             

             

            R is free software and comes with ABSOLUTELY NO WARRANTY.

            You are welcome to redistribute it under certain conditions.

            Type 'license()' or 'licence()' for distribution details.

             

             

            R is a collaborative project with many contributors.

            Type 'contributors()' for more information and

            'citation()' on how to cite R or R packages in publications.

             

             

            Type 'demo()' for some demos, 'help()' for on-line help, or

            'help.start()' for an HTML browser interface to help.

            Type 'q()' to quit R.

             

             

            You are using Oracle's distribution of R. Please contact

            Oracle Support for any problems you encounter with this

            distribution.

             

             

            > args<- commandArgs(TRUE)

            > proxyType=paste(args[1])

            > proxy=paste(args[2])

            >

            > if(is.na(proxy)|| proxy=="NA"){

            +     proxy<-read.table("proxy.txt", header=FALSE, sep="=", stringsAsFactors=FALSE)[,2]

            +     if(proxy != "http://[proxy-host:proxy-port]"){

            +         print("### Using proxy defined in proxy.txt ###")

            +         Sys.setenv(http_proxy=proxy) 

            +     }else{

            +         print("### Proxy is not defined in proxy.txt, ignoring the same ###")

            +     }

            + }else{

            +         print("### Using proxy provided in command line ###")

            +         print(paste("ProxyType", proxyType, sep="="))

            +         print(paste("Proxy", proxy, sep="="))

            +        

            +         if(proxyType == "https"){

            +             Sys.setenv(https_proxy=paste("https://",proxy,sep=""))

            +         }

            +        

            +         if(proxyType == "http"){

            +             Sys.setenv(http_proxy=paste("http://",proxy,sep=""))

            +         }

            + }

            [1] "### Using proxy defined in proxy.txt ###"

            >

            > install.packages("forecast", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            Warning: dependency 'tibble' is not available

            also installing the dependencies 'stringi', 'stringr', 'plyr', 'reshape2', 'scales', 'Rcpp', 'ggplot2', 'RcppArmadillo'

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringi_1.1.2.tar.gz'

            Content type 'application/x-gzip' length 3644855 bytes (3.5 Mb)

            opened URL

            ==================================================

            downloaded 3.5 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringr_1.1.0.tar.gz'

            Content type 'application/x-gzip' length 63174 bytes (61 Kb)

            opened URL

            ==================================================

            downloaded 61 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/plyr_1.8.4.tar.gz'

            Content type 'application/x-gzip' length 392451 bytes (383 Kb)

            opened URL

            ==================================================

            downloaded 383 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/reshape2_1.4.2.tar.gz'

            Content type 'application/x-gzip' length 34688 bytes (33 Kb)

            opened URL

            ==================================================

            downloaded 33 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/scales_0.4.1.tar.gz'

            Content type 'application/x-gzip' length 57703 bytes (56 Kb)

            opened URL

            ==================================================

            downloaded 56 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/Rcpp_0.12.8.tar.gz'

            Content type 'application/x-gzip' length 2435852 bytes (2.3 Mb)

            opened URL

            ==================================================

            downloaded 2.3 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/ggplot2_2.2.0.tar.gz'

            Content type 'application/x-gzip' length 2210334 bytes (2.1 Mb)

            opened URL

            ==================================================

            downloaded 2.1 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/RcppArmadillo_0.7.600.1.0.tar.gz'

            Content type 'application/x-gzip' length 1070803 bytes (1.0 Mb)

            opened URL

            ==================================================

            downloaded 1.0 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/forecast_7.3.tar.gz'

            Content type 'application/x-gzip' length 308850 bytes (301 Kb)

            opened URL

            ==================================================

            downloaded 301 Kb

             

             

            * installing *source* package 'stringi' ...

            ** package 'stringi' successfully unpacked and MD5 sums checked

            checking for local ICUDT_DIR... icu55/data

            checking for R_HOME... /usr/lib/64/R

            checking for R... /usr/lib/64/R/bin/R

            checking for R >= 3.1.0... yes

            checking for cat... /bin/cat

            checking for gcc... /opt/solarisstudio12.3/bin/cc -xc99 -m64

            checking whether the C compiler works... yes

            checking for C compiler default output file name... a.out

            checking for suffix of executables...

            checking whether we are cross compiling... no

            checking for suffix of object files... o

            checking whether we are using the GNU C compiler... no

            checking whether /opt/solarisstudio12.3/bin/cc -xc99 -m64 accepts -g... yes

            checking for /opt/solarisstudio12.3/bin/cc -xc99 -m64 option to accept ISO C89... none needed

            checking how to run the C preprocessor... /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -E

            checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

            checking for egrep... /usr/xpg4/bin/grep -E

            checking for ANSI C header files... yes

            checking for sys/types.h... yes

            checking for sys/stat.h... yes

            checking for stdlib.h... yes

            checking for string.h... yes

            checking for memory.h... yes

            checking for strings.h... yes

            checking for inttypes.h... yes

            checking for stdint.h... yes

            checking for unistd.h... yes

            checking elf.h usability... yes

            checking elf.h presence... yes

            checking for elf.h... yes

            checking whether we are using the GNU C++ compiler... no

            checking whether   accepts -g... no

            checking whether the C++ compiler supports the long long type... no

            *** trying with disabled C++11 compiler

            checking whether we are using the GNU C++ compiler... no

            checking whether /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 accepts -g... yes

            checking whether the C++ compiler supports the long long type... no

            *** verify your C++ compiler's abilities (long long, STL, etc. support)

            ERROR: configuration failed for package 'stringi'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringi'

            * installing *source* package 'Rcpp' ...

            ** package 'Rcpp' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG -I../inst/include/     -KPIC  -g  -xO3 -m64 -std=c++03 -c Date.cpp -o Date.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "../inst/include/Rcpp/Interrupt.h", line 60: Warning (Anachronism): Formal argument fun of type extern "C" void(*)(void*) in call to R_ToplevelExec(extern "C" void(*)(void*), void*) is being passed void(*)(void*).

            "../inst/include/Rcpp/String.h", line 90: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 102: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 242: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_first(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 268: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_last(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 299: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_all(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 378: Error: Could not find a match for std::wstring::basic_string(const char*, const char*) needed in Rcpp::String::operator std::wstring () const.

            "../inst/include/Rcpp/api/meat/proxy.h", line 32: Error: Could not find a match for Rcpp::AttributeProxyPolicy<Rcpp::CLASS>::AttributeProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 63: Error: Could not find a match for Rcpp::NamesProxyPolicy<Rcpp::CLASS>::NamesProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 84: Error: Could not find a match for Rcpp::SlotProxyPolicy<Rcpp::CLASS>::SlotProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 99: Error: Could not find a match for Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::operator=<Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::U>(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 130: Error: Could not find a match for Rcpp::BindingPolicy<Rcpp::EnvironmentClass>::Binding::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 151: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 159: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::traits::named_object<Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::T>&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 186: Error: Could not find a match for Rcpp::FieldProxyPolicy<Rcpp::CLASS>::FieldProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/algorithm.h", line 211: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value_type is not a member of Rcpp::algorithm::helpers::decays_to_ctype<int>.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value is not defined.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration does not specify a tag or an identifier.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Templates can only declare classes or functions.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Use ";" to terminate statements.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration was expected instead of ",".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: value_type is not a member of Rcpp::algorithm::helpers::ctype<int>.

            Compilation aborted, too many Error messages.

            *** Error code 2

            make: Fatal error: Command failed for target `Date.o'

            ERROR: compilation failed for package 'Rcpp'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/Rcpp'

            ERROR: dependency 'stringi' is not available for package 'stringr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringr'

            ERROR: dependency 'Rcpp' is not available for package 'plyr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/plyr'

            ERROR: dependency 'Rcpp' is not available for package 'RcppArmadillo'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/RcppArmadillo'

            ERROR: dependencies 'plyr', 'stringr', 'Rcpp' are not available for package 'reshape2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/reshape2'

            ERROR: dependencies 'plyr', 'Rcpp' are not available for package 'scales'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/scales'

            ERROR: dependencies 'plyr', 'reshape2', 'scales', 'tibble' are not available for package 'ggplot2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/ggplot2'

            ERROR: dependencies 'Rcpp', 'ggplot2', 'RcppArmadillo' are not available for package 'forecast'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/forecast'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            Warning messages:

            1: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'stringi' had non-zero exit status

            2: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'Rcpp' had non-zero exit status

            3: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'stringr' had non-zero exit status

            4: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'plyr' had non-zero exit status

            5: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'RcppArmadillo' had non-zero exit status

            6: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'reshape2' had non-zero exit status

            7: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'scales' had non-zero exit status

            8: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'ggplot2' had non-zero exit status

            9: In install.packages("forecast", repos = "http://cran.us.r-project.org") :

              installation of package 'forecast' had non-zero exit status

            > install.packages("mvoutlier", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            Warning: dependencies 'car', 'tibble' are not available

            also installing the dependencies 'stringi', 'stringr', 'plyr', 'reshape2', 'scales', 'mvtnorm', 'pcaPP', 'reshape', 'Rcpp', 'ggplot2', 'e1071', 'rrcov', 'fpc', 'GGally', 'kernlab', 'VIM', 'robCompositions'

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringi_1.1.2.tar.gz'

            Content type 'application/x-gzip' length 3644855 bytes (3.5 Mb)

            opened URL

            ==================================================

            downloaded 3.5 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/stringr_1.1.0.tar.gz'

            Content type 'application/x-gzip' length 63174 bytes (61 Kb)

            opened URL

            ==================================================

            downloaded 61 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/plyr_1.8.4.tar.gz'

            Content type 'application/x-gzip' length 392451 bytes (383 Kb)

            opened URL

            ==================================================

            downloaded 383 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/reshape2_1.4.2.tar.gz'

            Content type 'application/x-gzip' length 34688 bytes (33 Kb)

            opened URL

            ==================================================

            downloaded 33 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/scales_0.4.1.tar.gz'

            Content type 'application/x-gzip' length 57703 bytes (56 Kb)

            opened URL

            ==================================================

            downloaded 56 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/mvtnorm_1.0-5.tar.gz'

            Content type 'application/x-gzip' length 158480 bytes (154 Kb)

            opened URL

            ==================================================

            downloaded 154 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/pcaPP_1.9-61.tar.gz'

            Content type 'application/x-gzip' length 192050 bytes (187 Kb)

            opened URL

            ==================================================

            downloaded 187 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/reshape_0.8.6.tar.gz'

            Content type 'application/x-gzip' length 42554 bytes (41 Kb)

            opened URL

            ==================================================

            downloaded 41 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/Rcpp_0.12.8.tar.gz'

            Content type 'application/x-gzip' length 2435852 bytes (2.3 Mb)

            opened URL

            ==================================================

            downloaded 2.3 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/ggplot2_2.2.0.tar.gz'

            Content type 'application/x-gzip' length 2210334 bytes (2.1 Mb)

            opened URL

            ==================================================

            downloaded 2.1 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/e1071_1.6-7.tar.gz'

            Content type 'application/x-gzip' length 600498 bytes (586 Kb)

            opened URL

            ==================================================

            downloaded 586 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/rrcov_1.4-3.tar.gz'

            Content type 'application/x-gzip' length 1017409 bytes (993 Kb)

            opened URL

            ==================================================

            downloaded 993 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/fpc_2.1-10.tar.gz'

            Content type 'application/x-gzip' length 146746 bytes (143 Kb)

            opened URL

            ==================================================

            downloaded 143 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/GGally_1.3.0.tar.gz'

            Content type 'application/x-gzip' length 1025889 bytes (1001 Kb)

            opened URL

            ==================================================

            downloaded 1001 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/kernlab_0.9-25.tar.gz'

            Content type 'application/x-gzip' length 1170281 bytes (1.1 Mb)

            opened URL

            ==================================================

            downloaded 1.1 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/VIM_4.6.0.tar.gz'

            Content type 'application/x-gzip' length 329224 bytes (321 Kb)

            opened URL

            ==================================================

            downloaded 321 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/robCompositions_2.0.2.tar.gz'

            Content type 'application/x-gzip' length 1252074 bytes (1.2 Mb)

            opened URL

            ==================================================

            downloaded 1.2 Mb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/mvoutlier_2.0.6.tar.gz'

            Content type 'application/x-gzip' length 477197 bytes (466 Kb)

            opened URL

            ==================================================

            downloaded 466 Kb

             

             

            * installing *source* package 'stringi' ...

            ** package 'stringi' successfully unpacked and MD5 sums checked

            checking for local ICUDT_DIR... icu55/data

            checking for R_HOME... /usr/lib/64/R

            checking for R... /usr/lib/64/R/bin/R

            checking for R >= 3.1.0... yes

            checking for cat... /bin/cat

            checking for gcc... /opt/solarisstudio12.3/bin/cc -xc99 -m64

            checking whether the C compiler works... yes

            checking for C compiler default output file name... a.out

            checking for suffix of executables...

            checking whether we are cross compiling... no

            checking for suffix of object files... o

            checking whether we are using the GNU C compiler... no

            checking whether /opt/solarisstudio12.3/bin/cc -xc99 -m64 accepts -g... yes

            checking for /opt/solarisstudio12.3/bin/cc -xc99 -m64 option to accept ISO C89... none needed

            checking how to run the C preprocessor... /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -E

            checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

            checking for egrep... /usr/xpg4/bin/grep -E

            checking for ANSI C header files... yes

            checking for sys/types.h... yes

            checking for sys/stat.h... yes

            checking for stdlib.h... yes

            checking for string.h... yes

            checking for memory.h... yes

            checking for strings.h... yes

            checking for inttypes.h... yes

            checking for stdint.h... yes

            checking for unistd.h... yes

            checking elf.h usability... yes

            checking elf.h presence... yes

            checking for elf.h... yes

            checking whether we are using the GNU C++ compiler... no

            checking whether   accepts -g... no

            checking whether the C++ compiler supports the long long type... no

            *** trying with disabled C++11 compiler

            checking whether we are using the GNU C++ compiler... no

            checking whether /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 accepts -g... yes

            checking whether the C++ compiler supports the long long type... no

            *** verify your C++ compiler's abilities (long long, STL, etc. support)

            ERROR: configuration failed for package 'stringi'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringi'

            * installing *source* package 'mvtnorm' ...

            ** package 'mvtnorm' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c C_FORTRAN_interface.c -o C_FORTRAN_interface.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c miwa.c -o miwa.o

            /opt/solarisstudio12.3/bin/f95 -m64   -PIC  -g  -c mvt.f -o mvt.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c mvtnorm-init.c -o mvtnorm-init.o

            /opt/solarisstudio12.3/bin/f95 -m64   -PIC  -g  -c tvpack.f -o tvpack.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G -o mvtnorm.so C_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR

            ld: fatal: relocation error: R_SPARC_H44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_M44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_L44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_L44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            ld: fatal: relocation error: R_SPARC_L44: file /opt/solarisstudio12.3/prod/lib/sparc/64/libfsu.a(pow_di.o): symbol .text (section): relocations based on the ABS44 coding model can not be used in building a shared object

            *** Error code 2

            The following command caused the error:

            if test  "zC_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o" != "z"; then \

              echo /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G  -o mvtnorm.so C_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o  -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR; \

              /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G  -o mvtnorm.so C_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o  -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR; \

            fi

            make: Fatal error: Command failed for target `mvtnorm.so'

            ERROR: compilation failed for package 'mvtnorm'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/mvtnorm'

            * installing *source* package 'Rcpp' ...

            ** package 'Rcpp' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG -I../inst/include/     -KPIC  -g  -xO3 -m64 -std=c++03 -c Date.cpp -o Date.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "../inst/include/Rcpp/Interrupt.h", line 60: Warning (Anachronism): Formal argument fun of type extern "C" void(*)(void*) in call to R_ToplevelExec(extern "C" void(*)(void*), void*) is being passed void(*)(void*).

            "../inst/include/Rcpp/String.h", line 90: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 102: Warning: enc hides Rcpp::String::enc.

            "../inst/include/Rcpp/String.h", line 242: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_first(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 268: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_last(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 299: Error: Could not find a match for std::distance<std::_ForwardIterator, std::_Distance>(char*, char*) needed in Rcpp::String::replace_all(const char*, const char*).

            "../inst/include/Rcpp/String.h", line 378: Error: Could not find a match for std::wstring::basic_string(const char*, const char*) needed in Rcpp::String::operator std::wstring () const.

            "../inst/include/Rcpp/api/meat/proxy.h", line 32: Error: Could not find a match for Rcpp::AttributeProxyPolicy<Rcpp::CLASS>::AttributeProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 63: Error: Could not find a match for Rcpp::NamesProxyPolicy<Rcpp::CLASS>::NamesProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 84: Error: Could not find a match for Rcpp::SlotProxyPolicy<Rcpp::CLASS>::SlotProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 99: Error: Could not find a match for Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::operator=<Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::U>(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 130: Error: Could not find a match for Rcpp::BindingPolicy<Rcpp::EnvironmentClass>::Binding::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 151: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 159: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::traits::named_object<Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::T>&).

            "../inst/include/Rcpp/api/meat/proxy.h", line 186: Error: Could not find a match for Rcpp::FieldProxyPolicy<Rcpp::CLASS>::FieldProxy::operator=(const Rcpp::T&).

            "../inst/include/Rcpp/algorithm.h", line 211: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value_type is not a member of Rcpp::algorithm::helpers::decays_to_ctype<int>.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: value is not defined.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration does not specify a tag or an identifier.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Templates can only declare classes or functions.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: Use ";" to terminate statements.

            "../inst/include/Rcpp/algorithm.h", line 211: Error: A declaration was expected instead of ",".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: iterator_traits is not a member of std.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: "," expected instead of "<".

            "../inst/include/Rcpp/algorithm.h", line 212: Error: Illegal value for template parameter.

            "../inst/include/Rcpp/algorithm.h", line 212: Error: value_type is not a member of Rcpp::algorithm::helpers::ctype<int>.

            Compilation aborted, too many Error messages.

            *** Error code 2

            make: Fatal error: Command failed for target `Date.o'

            ERROR: compilation failed for package 'Rcpp'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/Rcpp'

            * installing *source* package 'e1071' ...

            ** package 'e1071' successfully unpacked and MD5 sums checked

            checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables

            See `config.log' for more details.

            ERROR: configuration failed for package 'e1071'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/e1071'

            * installing *source* package 'kernlab' ...

            ** package 'kernlab' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c brweight.cpp -o brweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c ctable.cpp -o ctable.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c cweight.cpp -o cweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dbreakpt.c -o dbreakpt.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dcauchy.c -o dcauchy.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dgpnrm.c -o dgpnrm.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dgpstep.c -o dgpstep.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dprecond.c -o dprecond.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dprsrch.c -o dprsrch.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dspcg.c -o dspcg.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dtron.c -o dtron.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dtrpcg.c -o dtrpcg.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c dtrqsol.c -o dtrqsol.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c esa.cpp -o esa.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c expdecayweight.cpp -o expdecayweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c inductionsort.cpp -o inductionsort.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c kspectrumweight.cpp -o kspectrumweight.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c lcp.cpp -o lcp.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c misc.c -o misc.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c msufsort.cpp -o msufsort.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c solvebqp.c -o solvebqp.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c stringk.c -o stringk.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c stringkernel.cpp -o stringkernel.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c svm.cpp -o svm.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "svm.cpp", line 590: Warning: l hides Solver::l.

            "svm.cpp", line 590: Warning: Q hides Solver::Q.

            "svm.cpp", line 591: Warning: Cp hides Solver::Cp.

            "svm.cpp", line 591: Warning: Cn hides Solver::Cn.

            "svm.cpp", line 591: Warning: eps hides Solver::eps.

            "svm.cpp", line 1095: Warning: l hides Solver::l.

            "svm.cpp", line 1095: Warning: Q hides Solver::Q.

            "svm.cpp", line 1095: Warning: p hides Solver::p.

            "svm.cpp", line 1095: Warning: y hides Solver::y.

            "svm.cpp", line 1096: Warning: alpha hides Solver::alpha.

            "svm.cpp", line 1096: Warning: Cp hides Solver::Cp.

            "svm.cpp", line 1096: Warning: Cn hides Solver::Cn.

            "svm.cpp", line 1096: Warning: eps hides Solver::eps.

            "svm.cpp", line 1097: Warning: si hides Solver_NU::si.

            "svm.cpp", line 1423: Warning: l hides Solver_SPOC::l.

            "svm.cpp", line 1423: Warning: Q hides Solver_SPOC::Q.

            "svm.cpp", line 1424: Warning: eps hides Solver_SPOC::eps.

            "svm.cpp", line 1424: Warning: nr_class hides Solver_SPOC::nr_class.

            "svm.cpp", line 1672: Warning: C hides Solver_SPOC::C.

            "svm.cpp", line 1790: Warning: l hides Solver_B::l.

            "svm.cpp", line 1790: Warning: Q hides Solver_B::Q.

            "svm.cpp", line 1791: Warning: Cp hides Solver_B::Cp.

            "svm.cpp", line 1791: Warning: Cn hides Solver_B::Cn.

            "svm.cpp", line 1791: Warning: eps hides Solver_B::eps.

            "svm.cpp", line 1792: Warning: qpsize hides Solver_B::qpsize.

            "svm.cpp", line 2168: Warning: Solver_B_linear::Solve hides the virtual function Solver_B::Solve(int, const Kernel&, double*, signed char*, double*, double, double, double, Solver_B::SolutionInfo*, int, int).

            "svm.cpp", line 2217: Warning: l hides Solver_B::l.

            "svm.cpp", line 2218: Warning: w hides Solver_B_linear::w.

            "svm.cpp", line 2218: Warning: Cp hides Solver_B_linear::Cp.

            "svm.cpp", line 2218: Warning: Cn hides Solver_B_linear::Cn.

            "svm.cpp", line 2218: Warning: eps hides Solver_B::eps.

            "svm.cpp", line 2219: Warning: qpsize hides Solver_B::qpsize.

            "svm.cpp", line 2466: Warning: Solver_MB::Solve hides the virtual function Solver_B::Solve(int, const Kernel&, double*, signed char*, double*, double, double, double, Solver_B::SolutionInfo*, int, int).

            "svm.cpp", line 2555: Warning: l hides Solver_B::l.

            "svm.cpp", line 2555: Warning: Q hides Solver_B::Q.

            "svm.cpp", line 2555: Warning: lin hides Solver_MB::lin.

            "svm.cpp", line 2556: Warning: eps hides Solver_B::eps.

            "svm.cpp", line 2557: Warning: qpsize hides Solver_B::qpsize.

            "svm.cpp", line 2557: Warning: nr_class hides Solver_MB::nr_class.

            39 Warning(s) detected.

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c wkasailcp.cpp -o wkasailcp.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c wmsufsort.cpp -o wmsufsort.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G -o kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o -xlic_lib=sunperf -lsunmath -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            ld: fatal: option -d has illegal argument '=c++03'

            ld: fatal: flags processing errors

            *** Error code 2

            The following command caused the error:

            if test  "zbrweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o" != "z"; then \

              echo /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o  -xlic_lib=sunperf -lsunmath -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm  -L/usr/lib/64/R/lib -lR; \

              /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o  -xlic_lib=sunperf -lsunmath -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm  -L/usr/lib/64/R/lib -lR; \

            fi

            make: Fatal error: Command failed for target `kernlab.so'

            ERROR: compilation failed for package 'kernlab'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/kernlab'

            ERROR: dependency 'stringi' is not available for package 'stringr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/stringr'

            ERROR: dependency 'Rcpp' is not available for package 'plyr'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/plyr'

            ERROR: dependency 'mvtnorm' is not available for package 'pcaPP'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/pcaPP'

            ERROR: dependencies 'mvtnorm', 'kernlab' are not available for package 'fpc'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/fpc'

            ERROR: dependencies 'car', 'e1071', 'Rcpp' are not available for package 'VIM'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/VIM'

            ERROR: dependencies 'plyr', 'stringr', 'Rcpp' are not available for package 'reshape2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/reshape2'

            ERROR: dependencies 'plyr', 'Rcpp' are not available for package 'scales'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/scales'

            ERROR: dependency 'plyr' is not available for package 'reshape'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/reshape'

            ERROR: dependencies 'mvtnorm', 'pcaPP' are not available for package 'rrcov'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/rrcov'

            ERROR: dependencies 'plyr', 'reshape2', 'scales', 'tibble' are not available for package 'ggplot2'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/ggplot2'

            ERROR: dependencies 'ggplot2', 'plyr', 'reshape' are not available for package 'GGally'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/GGally'

            ERROR: dependencies 'ggplot2', 'car', 'e1071', 'rrcov', 'fpc', 'GGally', 'kernlab', 'VIM' are not available for package 'robCompositions'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/robCompositions'

            ERROR: dependency 'robCompositions' is not available for package 'mvoutlier'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/mvoutlier'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            There were 18 warnings (use warnings() to see them)

            > install.packages("RJSONIO", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/RJSONIO_1.3-0.tar.gz'

            Content type 'application/x-gzip' length 1148375 bytes (1.1 Mb)

            opened URL

            ==================================================

            downloaded 1.1 Mb

             

             

            * installing *source* package 'RJSONIO' ...

            ** package 'RJSONIO' successfully unpacked and MD5 sums checked

            Trying to find libjson.h header file

            checking for gcc... no

            checking for cc... no

            checking for cl.exe... no

            configure: error: in `/tmp/RtmpLm47TN/R.INSTALL2fc523471b85/RJSONIO':

            configure: error: no acceptable C compiler found in $PATH

            See `config.log' for more details

            ERROR: configuration failed for package 'RJSONIO'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/RJSONIO'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            Warning message:

            In install.packages("RJSONIO", repos = "http://cran.us.r-project.org") :

              installation of package 'RJSONIO' had non-zero exit status

            > install.packages("matrixcalc", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/matrixcalc_1.0-3.tar.gz'

            Content type 'application/x-gzip' length 28499 bytes (27 Kb)

            opened URL

            ==================================================

            downloaded 27 Kb

             

             

            * installing *source* package 'matrixcalc' ...

            ** package 'matrixcalc' successfully unpacked and MD5 sums checked

            ** R

            ** preparing package for lazy loading

            ** help

            *** installing help indices

              converting help for package 'matrixcalc'

                finding HTML links ... done

                D.matrix                                html 

                E.matrices                              html 

                H.matrices                              html 

                K.matrix                                html 

                L.matrix                                html 

                N.matrix                                html 

                T.matrices                              html 

                commutation.matrix                      html 

                creation.matrix                         html 

                direct.prod                             html 

                direct.sum                              html 

                duplication.matrix                      html 

                elimination.matrix                      html 

                entrywise.norm                          html 

                fibonacci.matrix                        html 

                frobenius.matrix                        html 

                frobenius.norm                          html 

                frobenius.prod                          html 

                hadamard.prod                           html 

                hankel.matrix                           html 

                hilbert.matrix                          html 

                hilbert.schmidt.norm                    html 

                inf.norm                                html 

                is.diagonal.matrix                      html 

                is.idempotent.matrix                    html 

                is.indefinite                           html 

                is.negative.definite                    html 

                is.negative.semi.definite               html 

                is.non.singular.matrix                  html 

                is.positive.definite                    html 

                is.positive.semi.definite               html 

                is.singular.matrix                      html 

                is.skew.symmetric.matrix                html 

                is.square.matrix                        html 

                is.symmetric.matrix                     html 

                lower.triangle                          html 

                lu.decomposition                        html 

                matrix.inverse                          html 

                matrix.power                            html 

                matrix.rank                             html 

                matrix.trace                            html 

                maximum.norm                            html 

                one.norm                                html 

                pascal.matrix                           html 

                s                                       html 

                set.submatrix                           html 

                shift.down                              html 

                shift.left                              html 

                shift.right                             html 

                shift.up                                html 

                spectral.norm                           html 

                stirling.matrix                         html 

                svd.inverse                             html 

                symmetric.pascal.matrix                 html 

                toeplitz.matrix                         html 

                u.vectors                               html 

                upper.triangle                          html 

                vandermonde.matrix                      html 

                vec                                     html 

                vech                                    html 

            ** building package indices

            ** testing if installed package can be loaded

            * DONE (matrixcalc)

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            > install.packages("randomForest", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/randomForest_4.6-12.tar.gz'

            Content type 'application/x-gzip' length 79566 bytes (77 Kb)

            opened URL

            ==================================================

            downloaded 77 Kb

             

             

            * installing *source* package 'randomForest' ...

            ** package 'randomForest' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c classTree.c -o classTree.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c regTree.c -o regTree.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c regrf.c -o regrf.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c rf.c -o rf.o

            /opt/solarisstudio12.3/bin/f95 -m64   -PIC  -g  -c rfsub.f -o rfsub.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c rfutils.c -o rfutils.o

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -G -o randomForest.so classTree.o regTree.o regrf.o rf.o rfsub.o rfutils.o -lifai -lsunimath -lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfui -lfsu -lsunmath -lmtsk -lm -L/usr/lib/64/R/lib -lR

            installing to /db/rpt/rt400/db/11.2.0/R/library/randomForest/libs

            ** R

            ** data

            ** inst

            ** preparing package for lazy loading

            ** help

            *** installing help indices

              converting help for package 'randomForest'

                finding HTML links ... done

                MDSplot                                 html 

                classCenter                             html 

                combine                                 html 

                getTree                                 html 

                grow                                    html 

                importance                              html 

                imports85                               html 

                margin                                  html 

                na.roughfix                             html 

                outlier                                 html 

                partialPlot                             html 

                plot.randomForest                       html 

                predict.randomForest                    html 

                randomForest                            html 

                rfImpute                                html 

                rfNews                                  html 

                rfcv                                    html 

                treesize                                html 

                tuneRF                                  html 

                varImpPlot                              html 

                varUsed                                 html 

            ** building package indices

            ** testing if installed package can be loaded

            * DONE (randomForest)

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            > install.packages("NbClust", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            trying URL 'http://cran.us.r-project.org/src/contrib/NbClust_3.0.tar.gz'

            Content type 'application/x-gzip' length 22211 bytes (21 Kb)

            opened URL

            ==================================================

            downloaded 21 Kb

             

             

            * installing *source* package 'NbClust' ...

            ** package 'NbClust' successfully unpacked and MD5 sums checked

            ** R

            ** inst

            ** preparing package for lazy loading

            ** help

            *** installing help indices

              converting help for package 'NbClust'

                finding HTML links ... done

                NbClust                                 html 

            ** building package indices

            ** testing if installed package can be loaded

            * DONE (NbClust)

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            > install.packages("ROCR", repos="http://cran.us.r-project.org")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            also installing the dependencies 'caTools', 'gplots'

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/caTools_1.17.1.tar.gz'

            Content type 'application/x-gzip' length 63358 bytes (61 Kb)

            opened URL

            ==================================================

            downloaded 61 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/gplots_3.0.1.tar.gz'

            Content type 'application/x-gzip' length 578626 bytes (565 Kb)

            opened URL

            ==================================================

            downloaded 565 Kb

             

             

            trying URL 'http://cran.us.r-project.org/src/contrib/ROCR_1.0-7.tar.gz'

            Content type 'application/x-gzip' length 107872 bytes (105 Kb)

            opened URL

            ==================================================

            downloaded 105 Kb

             

             

            * installing *source* package 'caTools' ...

            ** package 'caTools' successfully unpacked and MD5 sums checked

            ** libs

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c Gif2R.cpp -o Gif2R.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -xO3 -m64 -std=c++03 -c GifTools.cpp -o GifTools.o

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            "GifTools.cpp", line 131: Warning: BlockSize hides BitPacker::BlockSize.

            1 Warning(s) detected.

            /opt/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -xlibmieee  -c runfunc.c -o runfunc.o

            /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G -o caTools.so Gif2R.o GifTools.o runfunc.o -L/usr/lib/64/R/lib -lR

            CC: Warning: Option -std=c++03 passed to ld, if ld is invoked, ignored otherwise

            ld: fatal: option -d has illegal argument '=c++03'

            ld: fatal: flags processing errors

            *** Error code 2

            The following command caused the error:

            if test  "zGif2R.o GifTools.o runfunc.o" != "z"; then \

              echo /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o caTools.so Gif2R.o GifTools.o runfunc.o   -L/usr/lib/64/R/lib -lR; \

              /opt/solarisstudio12.3/bin/CC -m64 -std=c++03 -G  -o caTools.so Gif2R.o GifTools.o runfunc.o   -L/usr/lib/64/R/lib -lR; \

            fi

            make: Fatal error: Command failed for target `caTools.so'

            ERROR: compilation failed for package 'caTools'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/caTools'

            ERROR: dependency 'caTools' is not available for package 'gplots'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/gplots'

            ERROR: dependency 'gplots' is not available for package 'ROCR'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/ROCR'

             

             

            The downloaded source packages are in

                '/tmp/RtmpPhmqaJ/downloaded_packages'

            Warning messages:

            1: In install.packages("ROCR", repos = "http://cran.us.r-project.org") :

              installation of package 'caTools' had non-zero exit status

            2: In install.packages("ROCR", repos = "http://cran.us.r-project.org") :

              installation of package 'gplots' had non-zero exit status

            3: In install.packages("ROCR", repos = "http://cran.us.r-project.org") :

              installation of package 'ROCR' had non-zero exit status

            > install.packages("./OBIEERPackage/OBIEEAdvancedAnalytics_12.2.1.1.0.tar.gz", repos=NULL, type="source")

            Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

            (as 'lib' is unspecified)

            ERROR: dependencies 'forecast', 'mvoutlier' are not available for package 'OBIEEAdvancedAnalytics'

            * removing '/db/rpt/rt400/db/11.2.0/R/library/OBIEEAdvancedAnalytics'

            Warning message:

            In install.packages("./OBIEERPackage/OBIEEAdvancedAnalytics_12.2.1.1.0.tar.gz",  :

              installation of package './OBIEERPackage/OBIEEAdvancedAnalytics_12.2.1.1.0.tar.gz' had non-zero exit status

            > sessionInfo()

            Oracle Distribution of R version 3.1.1 (2014-07-10)

            Platform: sparc-sun-solaris2.10 (64-bit)

             

             

            locale:

            [1] /en_CA.ISO8859-1/C/en_CA.ISO8859-1/en_CA.ISO8859-1/en_CA.ISO8859-1/C

             

             

            attached base packages:

            [1] stats     graphics  grDevices utils     datasets  methods   base    

             

             

            loaded via a namespace (and not attached):

            [1] tools_3.1.1

            >

            rt400ora@unhs205-db-a{db}[/export/media/software/OBIEE/orebi]#exit

             

            script done on December 22, 2016 11:48:09 AM EST

             

             

             

             

            attached base packages:

            [1] stats     graphics  grDevices utils     datasets  methods   base    

             

             

            loaded via a namespace (and not attached):

            [1] tools_3.1.1

            >

            rt400ora@unhs205-db-a{db}[/export/media/software/OBIEE/orebi]#exit

             

            script done on December 22, 2016 11:48:09 AM EST

            • 3. Re: OBIIE - Oracle R Enterprise integration - cannot compile Rcpp package
              Sherry Lamonica-Oracle

              Hello Nithin,

               

              In the log, the first issue I see is that package 'tibble' is not available for R-3.1.1. Looking at the CRAN site for tibble, it requires R-3.1.2 or above. Without tibble, the packages it depends on won't install:

               

              > install.packages("forecast", repos="http://cran.us.r-project.org")

              Installing package into '/db/rpt/rt400/db/11.2.0/R/library'

              (as 'lib' is unspecified)

              Warning: dependency 'tibble' is not available

               

              I was able to update the tibble package's DESCRIPTION file to R-3.1.1 or later and then install with R-3.1.1.  R CMD check passed so it should be okay, but I cannot guarantee this.

               

              Second, you'll need the LDFLAGS in Makeconf.  Please set it according to your environment and let me know if Rcpp passes compilation.

               

              Regards,

              Sherry

              • 4. Re: OBIIE - Oracle R Enterprise integration - cannot compile Rcpp package
                Nithin S-Oracle

                Hello Sherry,

                 

                Thanks for you reply.

                 

                We do not understand what should be regarding tibble package. Could you please clarify how to install tibble package with R 3.1.1.

                 

                Is there a Oracle Product support team with which we can open a collab SR for this? would you happen to know the product code to use?

                 

                Please advise.

                 

                Thanks

                Nithin

                • 5. Re: OBIIE - Oracle R Enterprise integration - cannot compile Rcpp package
                  Sherry Lamonica-Oracle

                  Hello Nithin,

                   

                  Let's take a look by web conference this week.

                   

                  Sherry

                  • 6. Re: OBIIE - Oracle R Enterprise integration - cannot compile Rcpp package
                    Nithin S-Oracle

                    Hello Sherry,

                     

                    Thank you so much for your reply.

                     

                    I am in training all week (1/9/16 - 1/13/16).

                     

                    But I will also check with the customer on their availability for next week for a webex call.

                     

                    Please let me know if your avalability next week so I can set up a Webex call.

                    My email_id : nithin.sanam@oracle.com ( OBIEE product support)

                     

                     

                    Thanks

                    Nithin