Gentlemen (and Ladies),
Currently testing the R-Toolkit integration into 3.15 and am having an issue validating(Re-Calculating) datapoints from the "Data Mining-> Selection" wizard. (see attached image)
Where is the RInsideBridge DLL at?
The log files report:
WCCOAui (9), 2017.02.09 10:29:37.401, CTRL, WARNING, 1, Manager Start, RCtrlExt error -1: [R interface dll ["RInsideBridge"] not loaded] Context: 0
WCCOAui (9), 2017.02.09 10:29:37.416, CTRL, WARNING, 51, Parameter incorrect, Data validation: At least 2 values needed for calculation (ssc_demo_drive1.value.current: 0)
WCCOAui (9), 2017.02.09 10:29:37.478, CTRL, WARNING, 1, Manager Start, RCtrlExt error -1: [R interface dll ["RInsideBridge"] not loaded] Context: 0
WCCOAui (9), 2017.02.09 10:29:37.509, CTRL, WARNING, 51, Parameter incorrect, Data validation: At least 2 values needed for calculation (ssc_demo_drive1.value.voltage: 0)
I have attached "installed R packages.txt" that shows the log of the libraries loaded - NOTE: there is NO WAY I am aware of to force the CRAN mirrors to download the 3.3.1 versions of the required packages... there could be an issue here?
Additionally, there are some help file entries that need clarification or correction... EvalExp() has an example that has #uses "SmartSCADA/analytics/RCtrl.ctl" ... this control script does not exist and the example chokes.... is this missing or should the #uses entry be removed? https://www.winccoa.com/fileadmin/image ... ckages.txt
SmartSCADA R-Toolkit issue
- kkembel
- Posts:12
- Joined: Wed Dec 18, 2013 9:44 pm
SmartSCADA R-Toolkit issue
- Attachments
-
- installed_R_packages.txt
- (11.98 KiB) Downloaded 209 times
- madjoergen
- Posts:1
- Joined: Fri May 11, 2012 11:13 am
Re: SmartSCADA R-Toolkit issue
Good Morning,
The mentioned library (SmartSCADA/analytics/RCtrl.ctl) is not needed anymore and has been removed for the final release 3.15. The example works without this line, please remove it when the example should be executed. I am sorry for any inconvenience.
To load the R.dll it is necessary to have path to the executables in the environment variables listed.
You find the detailed description in the online help in the section Add-Ons -> SmartSCADA -> Requirements and Installation in step 3 of the instructions.
For windows please extend the system wide PATH variable with the path to the “R” installation directory and the “R” library directory. It is also necessary to set two “R” specific environment variables.
Assuming as example “R” is installed in D:\\R as x64 version this leads to the following entries:
The mentioned library (SmartSCADA/analytics/RCtrl.ctl) is not needed anymore and has been removed for the final release 3.15. The example works without this line, please remove it when the example should be executed. I am sorry for any inconvenience.
To load the R.dll it is necessary to have path to the executables in the environment variables listed.
You find the detailed description in the online help in the section Add-Ons -> SmartSCADA -> Requirements and Installation in step 3 of the instructions.
For windows please extend the system wide PATH variable with the path to the “R” installation directory and the “R” library directory. It is also necessary to set two “R” specific environment variables.
Assuming as example “R” is installed in D:\\R as x64 version this leads to the following entries:
- R_HOME = D:\\R
- R_LIBS_USER = D:\\R\\library
- PATH = …many original entries; D:\\R\\bin\\x64; D:\\R\\library\\RInside\\libs\\x64
- kkembel
- Posts:12
- Joined: Wed Dec 18, 2013 9:44 pm
Re: SmartSCADA R-Toolkit issue
Thank you for the feedback Jorgen,
I should have mentioned these variables and paths have been properly configured. I located the "RInsideBridge.DLL"... it is a component of the SmartSCADA_3.15 subproject... it appears to be correctly registered with the OS... it just will not load in MY project.
ANY ideas at this point are welcome - I cannot use this tool without this getting resolved
Kurk
I should have mentioned these variables and paths have been properly configured. I located the "RInsideBridge.DLL"... it is a component of the SmartSCADA_3.15 subproject... it appears to be correctly registered with the OS... it just will not load in MY project.
ANY ideas at this point are welcome - I cannot use this tool without this getting resolved
Kurk