Microsoft R Open 4.0.2 and openSuSE

Photo by Musiime P. Muramura on Unsplash

One reason for my sometimes growing respect for Microsoft is that they support (just) Microsoft R Open. Back in May 2019 they released version 3.5.3. It was a long time coming, but Microsoft released Microsoft R Open 4.0.2 in September 2020.

In the nick-of-time, really. Theresa Graefe’s RTutor tutorial on synthetic models appears to rely on at least version 3.6 of R.

Microsoft R Open 4.0.2 and openSuSE Leap 15.2

I mainly use Microsoft R on Windows, but Linux has once again become my ‘daily driver’ for home use. Microsoft R Open does support SuSE Linux Enterprise SLES installation. To install on openSuSE Leap 15.2, I needed to change line 109 of the to:

  elif  [ "$OS_NAME" == "openSUSE" ]; then

Microsoft R Open CRAN snapshots

Normally, I think snapshots are a good idea to ease maintenance (though it would be more usable if Microsoft had a more regular update cycle…).

For some reason, the default CRAN mirror isn’t quite working the way it should be.

RevoUtils::getRevoRepos() returns "".


> install.packages("tidyverse")
Warning in install.packages :  
  unable to access index for repository  
  Line starting '<head><title>Documen ...' is malformed!

The problem can be ‘fixed’ manually after R starts with the commands:

r <- getOption("repos")
r["CRAN"] <- ""
options(repos = r)

but a more permanent fix is by modifying line 23 of /opt/microsoft/ropen/4.0.2/lib64/R/etc/

 r["CRAN"] <- "" # RevoUtils::getRevoRepos()
David Fong
David Fong
Lead doctor, Kensington site, coHealth

My interests include sustainable development in low-resource populations, teaching and the uses of monitoring and evaluation in clinical practice.