Error Messages

“R environment validation failed” with TRUE when you start a job

103 views September 28, 2017 Michael 0

Cause:

This is caused by a path issue in Windows where paths to the R directory should not contain spaces.
r_environment_validation_failed_true

 

 

 

 

 

Resolution:

  1. Navigate to the R directory. The default R directory is  C:\Program Files\Plunify\R. Alternatively you can check for the PL_R_HOME (Shown in the screen shot above) variable in the intime logs.
  2. Check that the directory contains these files
    r_directory_contents
  3. Check that the library folder contains these files
    r_lib_directory_contents
  4.  Copy the entire R directory to C:\Plunify_R. Create the directory if needed.
  5.  Type 'System Environment' in Windows search panel. Select 'Edit the system environment variables'.
    search_system_env_windows
  6. In the new window, click the Environment Variables...' button.
    windows_select_env_var
  7. Select the 'PL_R_HOME' variable under 'System Variables' and click the Edit button.
    windows_select_edit_pl_r_home
  8. Edit the variable value to C:\Plunify_R and press OK.
    windows_edit_pl_r_home_confirm
  9. Restart InTime and the R environment validation should pass.

Applies to:

  • Windows Operating System

Knowledge Base ID: 201709281455 - Last Review: Sep 28, 2017 - Revision: 1.0

Leave a Reply