Categories
- All Categories
- Oracle Analytics Learning Hub
- 30 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 237 Oracle Analytics News
- 45 Oracle Analytics Videos
- 16K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 88 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
R packages installed failed after V607 SampleAPP deployment, any suggestion?
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
-
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 continue0