Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Problem

When you try to install an R package on Linux you get the following error message:

"Warning: unable to access index for repository - http://www.revolutionanalytics.com./repositories/cran/2.15/stable/s..."

Solution

A workaround for this issue is to edit the file: 
/usr/lib64/Revo-6.2/R-2.15.3/lib64/R/etc/Rprofile.site

and change the line: r <- c(REVO=Revobase::getRevoRepos())

in this block of code:

if (.Platform$OS.type == "windows"){ 
r["CRAN"] <- Revobase::getRevoRepos(CRANmirror=TRUE) 
} else { 
r <- c(REVO=Revobase::getRevoRepos()) 
}

to:

r <- c(REVO="http://packages.revolutionanalytics.com/cran/2.15/stable")

You will then need to restart Revolution R Enterprise for the changes to take effect.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×