Oracle Analytics Cloud and Server

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

problems installing R packages in sampleapp 607p

Received Response
31
Views
1
Comments
Rank 2 - Community Beginner

the current script fails on this statement due to missing dependencies

Rscript --verbose -e 'install.packages("http://cran.r-project.org/src/contrib/Archive/arulesViz/arulesViz_0.1-8.tar.gz", repos=NULL, type="source")'

Log

installpackagecustom("http://cran.r-project.org/src/contrib/sROC_0.1-2.tar.gz", "http://cran.r-project.org/src/contrib/Archive/sROC/sROC_0.1-2.tar.gz")

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/sROC/sROC_0.1-2.tar.gz'

Error in download.file(p, destfile, method, mode = "wb", ...) :

  cannot open URL 'http://cran.r-project.org/src/contrib/Archive/sROC/sROC_0.1-2.tar.gz'

In addition: Warning message:

In download.file(p, destfile, method, mode = "wb", ...) :

  cannot open: HTTP status was '404 Not Found'

And when I run the verify I get this...

[oracle@demo R]$ ./verify_r_packages_install.sh

Not found: hexbin

Not found: ROCR

Not found: arulesViz

Not found: dendextend

Not found: htmltools

Not found: NMF

Not found: htmlwidgets

Not found: httr

Not found: yaml

Not found: igraph

Not found: matrixcalc

Not found: openssl

Not found: mime

Not found: sentiment

Not found: tm

Not found: jsonlite

Not found: seriation

Not found: plotly

Not found: slam

Not found: curl

Not found: sROC

Not found: viridis

[oracle@demo R]$

Any suggestions on how to fix this.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.