Strategy ONE
(missing or bad snippet)
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 Strategy download site.
- Prerequisites for Installing R and R Package in CentOS
- Prerequisites for Installing R and R Package in RHEL
- Prerequisites for Installing R and R Package in SUSE
- Install R and R Package in GUI Mode
- Install R and R Package in Silent Mode
- Uninstall R and R Package
- R Packages Included in the Installation
Prerequisites for Installing R and R Package in CentOS
The following prerequisites must be met to install R and R Package in CentOS:
- Run the installer as the root user.
- Enable public internet access.
- 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:
- Run the installer as the root user.
- Enable public internet access.
-
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
-
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:
- Run the installer as the root user.
- Enable public internet access.
-
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.
- 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
- After completing installation of the Strategy platform, download the standalone R and R Package installer from the Strategy download site.
-
Navigate to the downloaded zip file.
cd Downloads/
-
Extract the contents of the file.
unzip <file-name> <destination>
-
Extract the installation file.
tar -xvf rpackage-linux-XXXX.tar.gz
All files are extracted to the
RandRPackageInstaller
directory. -
Launch the R and R Package installer setup.
./randrpackageinstaller.sh
-
The R and R Package installer launches in GUI mode. Click Next.
-
Accept the license agreement and click Next.
-
The wizard displays different requirements for installation, depending your OS, as shown below. If you have met these requirements, click Install.
CentOS
RHEL
SUSE
- Click Finish.
- If necessary, troubleshoot any issues using the log at
<user directory>/randrpackageinstaller.log
.
Install R and R Package in Silent Mode
- After completing installation of the Strategy platform, download the standalone R and R Package installer from the Strategy download site.
-
Navigate to the downloaded zip file.
cd Downloads/
-
Extract the contents of the file.
unzip <file-name> <destination>
- Extract the installation file.
- Update the
options.txt
file in theRandRPackageInstaller
directory. - Launch the R and R Package installer in silent mode.
- If necessary, troubleshoot any issues using the log at
<user directory>/randrpackageinstaller.log
.
tar -xvf rpackage-linux-XXXX.tar.gz
All files are extracted to the RandRPackageInstaller
directory.
./randrpackageinstaller.sh -silent -options <path_to_options.txt_file>
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
|
|
Zypper (SUSE) | zypper remove R-core R-core-devel R-core-libs R-core-doc
|
R Packages Included in the Installation