382. THE R_HOME ENVIRONMENT VARIABLE IS NOT DEFINED.

In order for LINGO to interface with R, there must be an environment variable call R_HOME that points to the main R folder. If you run the SET command from a command window, you should see something like the following: R_HOME=C:/R/R-<version>, where <version> is the version number of R. If this environment variable is not present, you will need to add it.