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 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
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???
Andreas Forster replied
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