Installing Microsoft R Open 3.2.4 [Archived Documentation] · MRAN Skip to main content

Installing Microsoft R Open 3.2.4 [Archived Documentation]

Archive Notice

These are not the latest instructions.

The following documentation describes how to install and uninstall Microsoft R Open 3.2.3, which has been archived.

Take advantage of the latest version by downloading and installing Microsoft R Open 3.4.1.

Visit our Previous Releases page to learn about other past versions.


Due to the fact that these instructions have been archived, certain links on this page may no longer work over time.

Introduction

Microsoft R Open is the enhanced distribution of R from Microsoft Corporation. Microsoft R Open is a complete open source platform for statistical analysis and data science, which is free to download and use.

The current version, Microsoft R Open 3.2.4, is based on (and 100% compatible with) the statistical language, R-3.2.4-Revised, and includes additional capabilities for performance, reproducibility and platform support. Learn more...

System Requirements

Before you begin installing Microsoft R Open 3.2.4, make sure the machine on which you will install meets the minimum hardware and software requirements defined below.

Supported Platforms. Microsoft R Open is built and tested on the following 64-bit platforms:

  • Windows®:
    • Windows® 7.0 (SP1), 8.1, 10, Windows Server® 2008 R2 (SP1) and 2012
  • Linux:
    • Ubuntu 14.04, 15.04
    • CentOS / Red Hat Enterprise Linux 6.5, 7.1
    • SUSE Linux Enterprise Server 11
  • Mac OS X:
    • Mavericks (10.9), Yosemite (10.10), El Capitan (10.11)

Processor. Processor 64-bit processor with x86-compatible architecture (such as AMD64, Intel 64, x86-64, IA-32e, EM64T, or x64 chips). ARM chips, Itanium-architecture chips (also known as IA-64), and non-Intel Macs are not supported. Multiple-core chips are recommended.

Free disk space. 250 MB

RAM. 1 GB required, 2 GB recommended.

Installing on Windows

Before installing Microsoft R Open 3.2.4, please review the following system requirements.

Side-by-Side Installs

On Windows, Microsoft R Open 3.2.4 can work side-by-side with any other version of CRAN R, including past version of Microsoft R Open. In order to continue working with a different version of R from a terminal window, you must specify the full path to the R executable you want to use.

After the installation of Microsoft R Open 3.2.4, you can launch Rgui.exe to start interacting with R.

For example, if you installed RRO 3.2.2 and then upgraded to Microsoft R Open 3.2.4, here is how you could work with them side-by-side:

  • Start Microsoft R Open 3.2.4 by executing C:\Program Files\Microsoft\MRO\R-3.2.4\bin\x64\Rgui.exe if that is where you installed that version.
  • Start RRO 3.2.2 by executing C:\Program Files\RRO\R-3.2.2\bin\x64\Rgui.exe (assuming default install directory).

Install Microsoft R Open & MKL

Important! Any package dependencies will be installed automatically during the installation of Microsoft R Open as long as your machine has access to the internet.

To install Microsoft R Open 3.2.4 (and MKL) on Windows:

  1. Make sure R is not running. Stop every R process prior to installing Microsoft R Open. You may need to close your IDE.

  2. Go to the directory where you downloaded the Microsoft R Open installer.

  3. Launch the Microsoft R Open installer and follow the prompts.

    Note: After installing Microsoft R Open, the default R path is updated to point to R installed with Microsoft R Open 3.2.4.
    Important! If you choose not to write to the registry keys during the installation of Microsoft R Open, then you may be missing some functionality.
  4. To configure Microsoft R Open for reproducible research, you can disable the workspace save and reload feature. Learn more...

  5. After installing Microsoft R Open, you can enable the optional multi-threaded performance for Microsoft R Open as follows:

    Warning! Install Microsoft R Open first before MKL. If you reinstall Microsoft R Open without removing MKL, your MKL will no longer work. Instead, you must first uninstall MKL first as described here.

    A. Download the Math Kernel Library (MKL) corresponding for this release of Microsoft R Open.

    B. Go to the directory into which you downloaded RevoMath-3.2.4.exe, the MKL utility.

    C. Launch the installer and follow the prompts.

    Note: Learn how to set the number of threads here.
  6. When the Microsoft R Open installation is complete, launch Rgui.exe to start interacting with R. On some platforms, you can find Rgui.exe under C:\Program Files\Microsoft\MRO\R-3.2.4\bin\x64\Rgui.exe.

What's Next After Install

1 Download and configure an IDE, such as RStudio.
2 If you're new to the R language, try this datacamp tutorial.
3 Check out some of these other resources.
 

Note: Microsoft R Open also works with DeployR (installed separately). DeployR enables your application developers to deploy the R scripts, models, and data your R programmers have created in their applications.

Installing on Mac OS X

Before installing Microsoft R Open 3.2.4, please review the following system requirements.

Side-by-Side Installs

At this time, side-by-side installations of Microsoft R Open 3.2.4 and other versions of R are not supported on Mac OS X.

Install Microsoft R Open

Important! Any package dependencies will be installed automatically during the installation of Microsoft R Open as long as your machine has access to the internet.

Microsoft R Open can be installed on Mac OS X using the standard Apple installer package.

To install Microsoft R Open 3.2.4 on Mac OS X:

  1. Make sure R is not running. Stop every R process prior to installing Microsoft R Open. You may need to close your IDE. Note: At this time, side-by-side installations of Microsoft R Open 3.2.4 and other versions of R are not supported on Mac OS X.

  2. Go to the directory where you downloaded the Microsoft R Open installer.

  3. Launch the Microsoft R Open installer by double-clicking the filename.

  4. In the dialog box, click Continue.

  5. Follow the steps in the Microsoft R Open installer.

  6. Click Install to begin the installation process.

  7. To configure Microsoft R Open for reproducible research, you can disable the workspace save and reload feature. Learn more...

  8. When the Microsoft R Open installation is complete, start interacting with R in the R console. Launch the R console by clicking on the Microsoft R Open program icon in the Applications folder.

What's Next After Install

1 Download and configure an IDE, such as RStudio.
2 If you're new to the R language, try this datacamp tutorial.
3 Check out some of these other resources.
 

Note: Microsoft R Open also works with DeployR (installed separately). DeployR enables your application developers to deploy the R scripts, models, and data your R programmers have created in their applications.

Installing on Linux

Before installing Microsoft R Open 3.2.4, please review the following system requirements.

Side-by-Side Installs

On Linux machines, Microsoft R Open 3.2.4 can work side-by-side with any other version of CRAN R, including past version of Microsoft R Open. During the installation of Microsoft R Open, a symbolic link is created under /usr/bin/ that points to the last version of R that was installed, which in this case would be Microsoft R Open 3.2.4.

After installation, you can start Microsoft R Open 3.2.4 from a terminal window by typing R since it is the last one installed and is therefore under /usr/bin/.

You can also continue to work from a terminal window with other versions of R that were installed prior to Microsoft R Open 3.2.4. To do so, specify the full path to the R executable you want to use.

For example, if you installed RRO 3.2.2 and then upgraded to Microsoft R Open 3.2.4, you could work with both as follows:

  • Start Microsoft R Open 3.2.4 by executing R since it was the last one installed.
  • Start RRO 3.2.2 by executing /usr/lib64/RRO/R-3.2.2/bin/R.
Tip: You can also manage multiple side-by-side installations of any application using the alternatives command (or update-alternatives on Ubuntu). This command allows you create and manage symbolic links to the different installations, and thus easily refer to the installation of your choice.

Install Microsoft R Open & MKL

Important! Any package dependencies will be installed automatically during the installation of Microsoft R Open provided your machine has access to the internet.

To install Microsoft R Open 3.2.4 (and MKL) on Ubuntu:

Alert! Microsoft R Open installations from a live CD are not supported on Ubuntu.
  1. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

  2. Make sure R is not running. Stop every R process prior to installing. You may need to close your IDE.

  3. Make sure the system repositories are up-to-date prior to installing Microsoft R Open.  

    Note: This command will not install anything, but rather ensures that the repositories contain the latest software.

    sudo apt-get update
  4. Download the Microsoft R Open installer for your platform.

  5. Change to the directory where you downloaded the Microsoft R Open installer.

  6. Install Microsoft R Open as follows:

    For Ubuntu 14.04:

    dpkg -i MRO-3.2.4-Ubuntu-14.4.x86_64.deb

    For Ubuntu 15.04:

    dpkg -i MRO-3.2.4-Ubuntu-15.4.x86_64.deb
  7. To configure Microsoft R Open for reproducible research, you can disable the workspace save and reload feature. Learn more...

  8. To enable the optional multi-threaded performance for Microsoft R Open, do the following:

    A. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

    B. Download the Math Kernel Library (MKL) for your platform.

    C. Go to the directory where you downloaded the MKL installer.

    D. Unzip the RevoMath-3.2.4.tar.gz file and run the MKL install script.

    tar -xzf RevoMath-3.2.4.tar.gz
    cd RevoMath
    ./RevoMath.sh

    E. Choose option 1 to install MKL and follow the onscreen prompts.

    F. Learn how to set the number of threads here.

  9. When the Microsoft R Open installation is complete, run R in a terminal to begin interacting with R.

    Note: After installing, the default R path is updated to point to R installed with Microsoft R Open 3.2.4.

To install Microsoft R Open 3.2.4 (and MKL) on CentOS or Red Hat:

Alert! Before installing Microsoft R Open and MKL, please disable SELinux.
  1. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

  2. Make sure R is not running. Stop every R process prior to installing. You may need to close your IDE.

  3. Make sure the system repositories are up-to-date prior to installing Microsoft R Open.  

    Note: This command will not install anything, but rather ensures that the repositories contain the latest software.

    sudo yum clean all
  4. Download the Microsoft R Open installer for your platform.

  5. Change to the directory where you downloaded the Microsoft R Open installer.

  6. Install Microsoft R Open as follows:

    For CentOS / Red Hat 6.5:

    yum install MRO-3.2.4.el6.x86_64.rpm

    For CentOS / Red Hat 7.1:

    yum install  MRO-3.2.4.el7.x86_64.rpm
  7. To enable the optional multi-threaded performance for Microsoft R Open, do the following:

    A. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

    B. Download the Math Kernel Library (MKL) for your platform.

    C. Go to the directory where you downloaded the MKL installer.

    D. Unzip the RevoMath-3.2.4.tar.gz file and run the MKL install script.

    tar -xzf RevoMath-3.2.4.tar.gz
    cd RevoMath
    ./RevoMath.sh

    E. Choose option 1 to install MKL and follow the onscreen prompts.

    F. Learn how to set the number of threads here.

  8. When the Microsoft R Open installation is complete, run R in a terminal to begin interacting with R.

    Note: After installing, the default R path is updated to point to R installed with Microsoft R Open 3.2.4.

To install Microsoft R Open 3.2.4 (and MKL) on SLES:

  1. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

  2. Make sure R is not running. Stop every R process prior to installing Microsoft R Open. You may need to close your IDE.

  3. Make sure the system repositories are up-to-date prior to installing Microsoft R Open.  

    Note: This command will not install anything, but rather ensures that the repositories contain the latest software.

    sudo zypper clean --all
  4. Download the Microsoft R Open installer for your platform.

  5. Change to the directory where you downloaded the Microsoft R Open installer.

  6. Install Microsoft R Open as follows:

     zypper install MRO-3.2.4-SLES11.x86_64.rpm
  7. To enable the optional multi-threaded performance for Microsoft R Open, do the following:

    A. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

    B. Download the Math Kernel Library (MKL) for your platform.

    C. Go to the directory where you downloaded the MKL installer.

    D. Unzip the RevoMath-3.2.4.tar.gz file and run the MKL install script as follows:

       tar -xzf RevoMath-3.2.4.tar.gz
       cd RevoMath
       ./RevoMath.sh

    E. Choose option 1 to install MKL and follow the onscreen prompts.

    F. Learn how to set the number of threads here.

  8. When the Microsoft R Open installation is complete, run R in a terminal to begin interacting with R.

    Note: After installing, the default R path is updated to point to R installed with Microsoft R Open 3.2.4.

What's Next After Install

1 Download and configure an IDE, such as RStudio.
2 If you're new to the R language, try this datacamp tutorial.
3 Check out some of these other resources.
 

Note: Microsoft R Open also works with DeployR (installed separately). DeployR enables your application developers to deploy the R scripts, models, and data your R programmers have created in their applications.

Uninstalling

Important! Always uninstall MKL before uninstalling Microsoft R Open.

To uninstall Microsoft R Open 3.2.3, read these instructions here.
 

To uninstall Microsoft R Open 3.2.4, select the tab below to get your operating system-specific instructions.
 

  1. First, uninstall MKL Math Libraries. This will revert to the original Rblas.dll and Rlapack.dll files.

    1. Remove the RevoMath package using the Windows instructions for uninstalling a program specific to your version of Windows. For example, on Windows 8.1, choose Control Panel > Programs & Features > Uninstall.

    2. Find RevoMath in the list and uninstall.

  2. Then, uninstall Microsoft R Open :

    1. Remove Microsoft R Open using the Windows instructions for uninstalling a program specific to your version of Windows. For example, on Windows 8, choose Control Panel > Programs & Features > Uninstall.

    2. Find MRO for Windows 3.2.4 in the list and uninstall.

    3. Remove the directory in which you installed Microsoft R Open, by default C:\Program Files\Microsoft\MRO.

To uninstall Microsoft R Open on Mac OS X:

Run the following commands to uninstall:

   cd /Applications
   sudo rm -rf "Microsoft R Open".app
   cd /Library/Frameworks
   sudo rm -rf R.framework
   sudo rm -rf /usr/local/bin/R 
   sudo rm -rf /usr/local/bin/Rscript

  1. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

  2. Uninstall MKL first before Microsoft R Open. MKL Math Libraries are used for multi-threaded performance:

    1. Go to the RevoMath directory and run the MKL utility:

      cd RevoMath
      ./RevoMath.sh
    2. Choose option 2 to uninstall MKL.

  3. Uninstall Microsoft R Open on Ubuntu:

    dpkg --purge mro
    rm –rf /usr/lib64/MRO-3.2.4

  1. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

  2. Uninstall MKL first before Microsoft R Open. MKL Math Libraries are used for multi-threaded performance:

    1. Go to the RevoMath directory and run the MKL utility:

      cd RevoMath
      ./RevoMath.sh
    2. Choose option 2 to uninstall MKL.

  3. Uninstall Microsoft R Open on CentOS or Red Hat:

    yum erase Microsoft R Open 
    rm –rf /usr/lib64/MRO-3.2.4

  1. Log in as root or a user with sudo privileges. If the latter, precede commands requiring root privileges with sudo.

  2. Uninstall MKL first before Microsoft R Open. MKL Math Libraries are used for multi-threaded performance:

    1. Go to the RevoMath directory and run the MKL utility:

      cd RevoMath
      ./RevoMath.sh
    2. Choose option 2 to uninstall MKL.

  3. Uninstall Microsoft R Open :

    zypper remove MRO
    rm –rf /usr/lib64/MRO-3.2.4

Warning: Depending on how R packages were installed, you may need to manually remove any R packages that remain in your personal R library and/or the global R library after uninstalling Microsoft R Open.