Problem: I am unable to install an R package in Revolution R on Linux

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

"Warning: unable to access index for repository -"
A workaround for this issue is to edit the file: 

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()) 


r <- c(REVO="")

You will then need to restart Revolution R Enterprise for the changes to take effect.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 3103268 - Last Review: 10/26/2015 02:55:00 - Revision: 1.0

Revolution Analytics

  • KB3103268