I really like the MKL bundled with Microsoft R Open, since I run a lot of regressions on large data sets. However, I do not need its checkpoint functionality, and I want most updated packages. How could I change the installation repository from MRO to CRAN?
This is a question for the Microsoft R Open community. There might be some RStudio users who also use Microsoft R Open, but you've got a better shot there.
- Are you on Windows, OSX or Linux?
- Do you need the change to be permanent between sessions, or are you ok with manually changing the repository when you need to install new packages?
I have mro installed on both Windows and Linux machine. I want the change permanent
This solution should work both in Windows and in Linux.
> file.edit(file.path("~", ".Rprofile"))
Insert one of these two lines: either
options(repos = c(CRAN ="https://cran.revolutionanalytics.com"))
options(repos = c(CRAN ="https://cloud.r-project.org/"))
quit R and restart it
PS if you're behind some evil proxy, let me know. We need to make a few changes.
Thanks so much! I also want to ask that when my linux system gets updated, will my microsoft r gets updated as well?
What do you mean with
when my linux system gets updated,
? Do you mean running
sudo apt update? In that case, I don't think so. After running
sudo apt update, I think you can get a new version of CRAN R (if in meantime the Ubuntu team has updated the version in the
apt Ubuntu repository), with
sudo apt install r-base
But MRO is not in the Ubuntu apt repository, so no, I don't think it will get updated. As a matter of fact, the only reason why
options(repos = c(CRAN ="https://cloud.r-project.org/")) works is because MRO (unlike Renjin and pqR) is compatible with the CRAN R packages.
I use fedora instead of Ubuntu. Normally when I update the whole system, my R gets updated automatically. So you mean every time when MRO has a new version, I need to uninstall my old one and install the new one?
I don't have any direct experience with Fedora. Reading here:
it looks like you don't have to uninstall the old version, but you do have to install the new one. However, this is a different question than your initial one - for this one, you may actually find better support here:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.