Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

R packages installed failed after V607 SampleAPP deployment, any suggestion?

Received Response
4
Views
1
Comments
John Miao
John Miao Rank 1 - Community Starter

R packages installed failed after V607 SampleAPP deployment, any suggestion?

I execute install_sampleapp_R_packages.sh, but got an error while installing arulesviz.

Thanks,

John

 

Answers

  • John Miao
    John Miao Rank 1 - Community Starter

    The installation log as below:

    Installing package into ‘/app/oracle/db/product/12c/dbhome_1/R/library’
    (as ‘lib’ is unspecified)
    trying URL '
    http://cran.r-project.org/src/contrib/Archive/arulesViz/arulesViz_0.1-8.tar.gz'

    Content type 'application/x-gzip' length 742577 bytes (725 Kb)
    opened URL
    ==================================================
    downloaded 725 Kb

    ERROR: dependencies ‘seriation’, ‘igraph’ are not available for package ‘arulesViz’
    * removing ‘/app/oracle/db/product/12c/dbhome_1/R/library/arulesViz’
    Warning message:
    In install.packages("http://cran.r-project.org/src/contrib/Archive/arulesViz/arulesViz_0.1-8.tar.gz", :
    installation of package ‘/tmp/RtmplBKrRL/downloaded_packages/arulesViz_0.1-8.tar.gz’ had non-zero exit status

    Oracle Distribution of R version 3.1.1  (--) -- "Sock it to Me"
    Copyright (C)  The R Foundation for Statistical Computing
    Platform: x86_64-unknown-linux-gnu (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.

    Natural language support but running in an English locale

    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=""))
    +         }
    + }
    Error in if (proxy != "http://[proxy-host:proxy-port]") { :
    missing value where TRUE/FALSE needed
    Execution halted
    Error in library(RCurl) : there is no package called ‘RCurl’
    Calls: installpackagecustom -> library
    Execution halted

    Press any key to continue