book
Article ID: KB0070218
calendar_today
Updated On:
Description
R 3.6.1 will not integrate with Statistica using COMadaptR 1.3.1.
As of May 2024, the only COMadaptR available at
https://tran.tibco.com/statistica/html/COMadaptR.html is COMadaptR 1.3.1:
When using COMadaptR 1.3.1 to integrate R 3.6.1 with Statistica, the following error occurs:
When checking R integration status in Statistica (Home>>Tools>>R Integration), there is conflicting information. Below shows "R Integration: Enabled" but the button "Enable R Integration" is also available:
This issue persists when Statistica is closed and re-launched. Also the steps in this knowledge base article fail to resolve the issue:
https://support.tibco.com/s/article/How-to-enable-or-disable-Statistica-R-Integration-for-Statistica-manually
Resolution
Use the COMadaptR 1.2.0 middleware component 1. Download the COMadaptR 1.2.0 zip file, attached to the bottom of this knowledge base article
2. Extract the file to any desired location
3. Copy the COMadaptR 1.2.0 folder to the R library folder, typically C:\Program Files\R\R-3.6.1\library
4. Rename COMadaptR 1.2.0 to COMadaptR
4. Open an admin command prompt
5. Change to the C:\Program Files\R\R-3.6.1\library\COMadaptR\ directory
6. Enter this command and press the Enter key:
COMadaptR.exe /regserver If successfully, no message is displayed.
R 3.6.1 is now integrated with Statistica. To verify, open the standalone.r script file by going to Home>>Open>>Examples and opening the R folder. Right-click on the R script and chose Run.
Issue/Introduction
R integration of R 3.6.1 fails with Spotfire Statistica 14.0.x and higher