Skip to Content
avatar image
Former Member

Regarding Custom R component

Hi

I am using Caret package inside RStudio-0.99.441 to construct a custom R algorithm for my usecase. Now I am trying to install this caret package to

R x64 3.1.0 GUI to which my SAP Expert Analytics is Configured. So whenever I am trying to install the CARET package in my R GUI an error comes as given below:

> install.packages('caret', dependencies = TRUE)

Warning: unable to access index for repository http://ftp.iitm.ac.in/cran/bin/windows/contrib/3.1

Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.1

Warning message:

package ‘caret’ is not available (for R version 3.1.0)

As a result inside SAP expert analytics the custom R component doesn't work. So is there a way out for such problem. May be we can configure the SAP Expert analytics with R studio library???

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 01, 2015 at 11:58 AM

    what is the version of PA you are using? is it 2.2?

    Thx

    Antoine

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Andreas Forster

      Thanks Andreas,

      setInternet2(TRUE)
      install.packages('caret', dependencies = TRUE)

      worked beautifully.

      I also found that expert mode and rstudio were using different r-installation. I corrected it now but thanks for such prompt response 😊