MicroStrategy ONE

The R Integration Pack is in maintenance development status as of March 2024. No new features are planned. Only critical security updates will be provided.

R and R Package Installer for Linux

The MicroStrategy R and R Package installer is a standalone component to simplify the installation and configuration of R and the packages needed to use R in conjunction with MicroStrategy 2020 and later. You can download the R and R Package installer from the MicroStrategy download site.

Prerequisites for Installing R and R Package in CentOS

The following prerequisites must be met to install R and R Package in CentOS:

  1. Run the installer as the root user.
  2. Enable public internet access.
  3. Use a gcc.c++ version of 4.6 or later and a gcc-gfortran version earlier than 5.

Prerequisites for Installing R and R Package in RHEL

The following prerequisites must be met to install R and R Package in RHEL:

  1. Run the installer as the root user.
  2. Enable public internet access.
  3. Register and enable the RHSM repository.

    Register the machine with your Redhat user account that is subscribed to the RHSM service.

    subscription-manager register --auto-attach.

    Enable the optional repository.

    subscription-manager repos -enable rhel-7-server-optional-rpms

  4. Use a gcc.c++ version of 4.6 or later and a gcc-gfortran version earlier than 5.

Prerequisites for Installing R and R Package in SUSE

The following prerequisites must be met to install R and R Package in SUSE:

  1. Run the installer as the root user.
  2. Enable public internet access.
  3. Register and enable the SLES repository.

    Register the machine with your SUSE user account.

    SUSEConnect -r <YourActivationCode> -e <YourEmailAddress>

    Check the list of available SUSE extensions.

    SUSEConnect -r <YourActivationCode> -p sle-sdk/15/x86_64.

  4. Use a gcc.c++ version of 4.6 or later and a gcc-gfortran version earlier than 5.

Install R and R Package in GUI Mode

  1. After completing installation of the MicroStrategy platform, download the standalone R and R Package installer from the MicroStrategy download site.
  2. Navigate to the downloaded zip file.

    cd Downloads/

  3. Extract the contents of the file.

    unzip <file-name> <destination>

  4. Extract the installation file.

    tar -xvf rpackage-linux-XXXX.tar.gz

    All files are extracted to the RandRPackageInstaller directory.

  5. Launch the R and R Package installer setup.

    ./randrpackageinstaller.sh

  6. The R and R Package installer launches in GUI mode. Click Next.

  7. Accept the license agreement and click Next.

  8. The wizard displays different requirements for installation, depending your OS, as shown below. If you have met these requirements, click Install.

    CentOS

    RHEL

    SUSE

  9. Click Finish.
  10. If necessary, troubleshoot any issues using the log at <user directory>/randrpackageinstaller.log.

Install R and R Package in Silent Mode

  1. After completing installation of the MicroStrategy platform, download the standalone R and R Package installer from the MicroStrategy download site.
  2. Navigate to the downloaded zip file.

    cd Downloads/

  3. Extract the contents of the file.

    unzip <file-name> <destination>

  4. Extract the installation file.
  5. tar -xvf rpackage-linux-XXXX.tar.gz

    All files are extracted to the RandRPackageInstaller directory.

  6. Update the options.txt file in the RandRPackageInstaller directory.
  7. Launch the R and R Package installer in silent mode.
  8. ./randrpackageinstaller.sh -silent -options <path_to_options.txt_file>

  9. If necessary, troubleshoot any issues using the log at <user directory>/randrpackageinstaller.log.

Uninstall R and R Package

R and R Package is installed with packages as well as dependencies. When you uninstall R and R Package, you should only remove R and R Package components and avoid uninstalling R and R Package dependencies since they may be shared by other applications.

Use the following list of required components to uninstall R and R Package binaries.

Package Manager Command Reference
YUM (Red Hat) yum remove R-core R-core-devel R-java R-java-devel libRmath libRmath-devel

R for Linux Redhat

Zypper (SUSE) zypper remove R-core R-core-devel R-core-libs R-core-doc

R for Linux SUSE

R Packages Included in the Installation