Can Statistica integrate with Microsoft Open R?

Can Statistica integrate with Microsoft Open R?

book

Article ID: KB0073641

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.0 and higher

Description

Yes. After installing Microsoft Open R version 8.0.0, it looks like that Statistica recognizes the existence of R, as the message about integration between R and Statistica appears but R scripts do not run.

Cause: Microsoft Open R has a different version of R enlisted as current version in the registry.

Issue/Introduction

Can Statistica integrate with Microsoft Open R?

Resolution

For Version 13.0 and above , to integrate with MS Open R follow the below steps :

1. Open Registry and browse to registry : HKEY_LOCAL_MACHINE/SOFTWARE/R-Core/R and change the Current Version listed from version listed (8.0.2)  to the version number listed in the Install path of the registry. In the below screen shot : 3.3.2.

    

2. Open RGUI with Administrative privileges. and select Packages >> Open package(s) from local files...

    

3. Browse to Statistica installion directory and point to : "COMadaptR_3.0.1.1.zip"

    

4. Verify that COMadaptR has installed successfully

5. Start Command prompt with admin privileges to Register COMadaptR servers (32-bit & 64-bit) with the Windows Registry

6.Change directory to [MicrosoftRInstallationDirectory]\library\COMadaptR\libs

7. Register 32-bit COMadaptR server if the system is a 32-bit machine:
      i386\COMadaptR.exe /regserver
  (or)  Register 64-bit COMadaptR server if the system is a 64-bit machine:
        x64\COMadaptR.exe /regserver
 
Note :If an error indicating that MSVCR120.dll is missing is encountered, then the 32-bit and 64-bit versions of the VC++ runtime libraries have to be installed. Both 32-bit version and 64-bit version of the libraries are
required to register the 32-bit and 64-bit versions of the COMadaptR servers. The VC++ run time libraries can be downloaded from: https://www.microsoft.com/en-us/download/details.aspx?id=40784.


8. Statistica-Microsoft-R integration should be enabled at this point. Verify that R examples shipped with Statistica execute successfully.


DISCLAIMER :
TIBCO Software,Inc  does not provide support for problems that arise from improper modification of the registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to Microsoft Article ID 256986 "Description of the Microsoft Windows registry" at Microsoft Support.