Enable R Languge Support in Compose

  1. On Windows, install R (version 3.5 or newer) on your computer.
    1. If R is not installed, download the most recent version of R from http://www.r-project.org/, unless you are required to install a specific R package approved by your organization.
    2. On the R Project page, click download R.
    3. Select the preferred CRAN mirror from https://cran.r-project.org/mirrors.html.
    4. On the next page, click Download R for Windows.
  2. On Linux, install R (version 3.5 or newer) on your computer.
    1. Determine if R is installed on your Linux machine using the following command:
      rpm -qa R
    2. If R is not present, or if its version is older than 3.5, install the latest version of R as follows:
      yum install R
    3. If this does not work, do a yum update and install the latest epel-release first. Assuming that you are logged in as root, run the following commands:
      yum update
      yum install epel-release
      yum install R
    4. R is usually installed under /usr/lib64/R.
    5. To check the version of R, use the following command:
      rpm -qa R
    6. If you need more information on installing R on Linux, see the R project website, https://www.r-project.org/, and here: http://fedoraproject.org/wiki/EPEL.
  3. Point the environment variable R_HOME to the R installation.