How to Get Rmarkdown 1.2 with Microsoft R Open 3.3.2

Microsoft ML server /R client package issue

Since you are using R Open, you are using checkpoint?

Checkpoint freezes your mran repository to a specific snapshot in time. it looks like your mran is frozen to 2018-01-01

https://mran.microsoft.com/snapshot/2018-01-01

change the check point to today and update_packages()

update_packages()

NOTE: this only works from packages that are installed from mran, if you install a package using devtools::install_github() the package will not come from the snapshot.

More info on this

https://mran.microsoft.com/documents/rro/reproducibility

Look at the FAQ for the following questions.

Why can't I update to or install the latest CRAN packages?

Can I change the default repository for Microsoft R Open?

https://mran.microsoft.com/faq#static-repos

install.packages() recommends that you always run updated_packages() before installing a new package to ensure that the latest are installed.

Try the following: (or read the faq to change your repository permanently)

checkpoint("2018/09/03")
update_packages()

R Markdown stops working, after installing MRO

It looks to me like this isn't necessarily an issue with RMarkdown, but a compatibility issue with RevoUtilsMath and the MKL libraries. It's referenced on the github for RRO (which Microsoft acquired and is now MRO) here:

https://github.com/RevolutionAnalytics/RRO/issues/152

I haven't experienced the error myself, but there is a google group which references and solves that issue here:

https://groups.google.com/forum/#!topic/rropen/jKfR40DcIbE

The third response down is the users solution, and just below that is a microsoft support rep explaining how to properly setup MKL and RevoMathUtils. Hope that helps!

Installing packages on Microsoft R Open fails

These errors told you that you didn't have necessary tools (make, gcc) for building R packages in Linux

libs sh: 1: make: not found 
...
no acceptable C compiler found in $PATH

You will need to install r-base-dev to get those

sudo apt-get install r-base-dev

See more:

  • https://cran.r-project.org/bin/linux/ubuntu/README.html
  • https://packages.debian.org/sid/r-base-dev
  • R package installation in Linux


Related Topics



Leave a reply



Submit