on 07-01-2015 12:15 PM
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???
what is the version of PA you are using? is it 2.2?
Thx
Antoine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if expert mode and rstudio are using the same r-installation, then you can install the library in rstudio and expert mode should pick it up. That's how i prefer it. This might fix it.
alternatively, could it be that you have a proxy in your network, which prevents the install directly in rgui? Then either try from a network without proxy or use a command like
setInternet(true)
before installing the library. I am not 100% about the command syntax, i am travelling at the moment without laptop.
Andreas
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
setInternet2(TRUE)
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.