Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding Custom R component


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

Warning: unable to access index for repository

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???


I see same on my computer in case, setInternet2(TRUE) was not set. Executing this command, allows me to install libraries directly in Rgui. Please try this out, if you want to install packages in Rgui

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

Can you explain why you want to install in Rgui by the way? If the library is installed through RStudio it should be available in Rgui directly too, and in Expert mode.

Have you been able to create a simple new custom r component? This site gives an overview on adding new components

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question