ISmRManager.UserRPath

Syntax

UserRPath: String;

Description

The UserRPath property determines the path to the installed and integrated with Foresight Analytics Platform R package.

Comments

If the value of the UserRPath property was not set, Foresight Analytics Platform searches for the path in the system registry. If R is installed with default settings, this property does not requires to be filled.

Example

Add a link to the Stat system assembly.

Sub UserProc;
Var
    RManager: ISmRManager;
Begin
    RManager := New SmRManager.Create;
    RManager.Reset;
    If RManager.IsRExist = False Then
        RManager.UserRPath := "C:\Program Files\R\R-3.1.3";
        RManager.Reset;
   End If;
End Sub UserProc;

After executing the example it is checked if there is the installed and integrated with Foresight Analytics Platform R package on the local workstation. If the path to the installed and integrated with Foresight Analytics Platform R package will not be found, it will be written, then the RServe session will be updated.

See also:

ISmRManager