Publication date: 07/15/2025

Install R

Install R on the same computer as JMP.

Because JMP is a 64-bit application, you must install the corresponding 64-bit version of R. For the supported version of R, see the system requirements on the JMP website: https://www.jmp.com/system.

For Apple macOS Catalina and later versions, download the notarized and signed package.

You can install R from the web or from an approved corporate repository. If you install R from a corporate repository, perform steps 6 through 7, below.

Install R from the web by following these steps:

1. Go to https://www.r-project.org.

2. Under "Download", click CRAN.

3. Click a mirror site near you.

4. Click the download link for your operating system.

5. Click the "base" distribution.

6. Run the downloaded R installer using the default options.
If R is not installed in its default location, it might not run from Python. This document assumes a default installation of R.

7. After installation, run R.exe to verify that R works outside of JMP.

Set the R_HOME Variable on Windows

Normally, JMP determines the R_HOME environment variable internally if it is not defined in the Windows system registry:

computer\HKEY_LOCAL_MACHINE\SOFTWARE\R-code\R\InstallPath

If you have installed more than one version of R on your computer, and want to override the default R installation location, define the R_HOME environment variable.

Create a new R_HOME system environment variable or edit an existing R_HOME variable to reference the location of the R \bin directory that you want to use. This enables you to have more than one version of R installed on your computer.

On Windows, set the variable from the System Properties window:

1. Search for "Advanced System Settings".

2. Click "View advanced system settings".

3. Click Environment Variables.

4. In the System variables pane, either look for an existing R_HOME variable to edit or click New to create a variable.

5. When entering the path to the R \bin directory, do not include "\bin". For example, C:\Program Files\R\R-4.4.2.

6. If JMP was running before you set R_HOME, restart JMP.

Alternately, you can create the variable using the JSL Set Environment Variable() function:

Set Environment Variable( "R_HOME", "C:\Program Files\R\R-2.15.3" );

Set the R_HOME Variable on Apple macOS

If you to have more than one version of R installed on your computer, create an R_HOME system environment variable or edit an existing R_HOME variable to reference the location of the R \bin directory that you want to use with JMP.

Add or edit the R_HOME location from the login profile:

1. Set R_HOME in your login profile.

2. Log out and then in.

Specify the R_HOME location from the Terminal:

1. Open a terminal window.

2. Type the following code, where path_to_R is the location of R.

export R_HOME=path_to_R

3. Press Enter.

4. Log out and then back in so that the variable is active in both the GUI environment and the terminal shell.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).