4

I would like to know if someone works on a package for R using the OPC-UA communication standard. I found no R-package on CRAN and also on GitHub.

My idea is to to some real-time analysis of data send by a OPC-UA server.

There are some python packages but I don´t know if R is the appropriate language for this network protocol.

In my opinion R would be great to visualize data and analyze them.

J_F
  • 9,956
  • 2
  • 31
  • 55

1 Answers1

5

There is no native OPC UA client for R; however, you can get OPC data into your R application in a variety of ways.

Personally, I think it would be the easiest to use a database. OPC Foundation provides a .NET Core stack where you can add your own R driver.

eglease
  • 2,445
  • 11
  • 18
  • 28
  • Thanks for your answer. I know the possibility to insert other languages in R-packages. I didn´t thought the possibility to store the data in databases, great idea. But why does it give no "native" R-package? Is it the possibility not to go that deep into the network communication? – J_F Nov 22 '21 at 20:59
  • 2
    OPC is usually used in industrial applications to communicate between PLCs and SCADA applications where PLCs could be from different manufacturers with different (and proprietary) communications protocols and the SCADA market has been dominated by a few major players. I guess there has not been much demand for statistics outside of what a SCADA system can provide. In my experience, most OPC software is written in C/C++, with .NET/Java only becoming popular in the last few years. – eglease Nov 22 '21 at 22:34