Skip to content

R packages to send plottable data to external apps

2 messages · Mike Marchywka, Iñaki Ucar

#
I was curious what R packages, or indeed any other applications, exist
to plot streamed data from arbitrary data generators. It need not
be publication quality plotting but it should be easy to use  like
an oscilloscope.  I was working on something called datascope that I 
am using for 1D finite difference monitoring and recently interfaced it
to freefem. I also created an R package. If there is any interest in something
like this I guess I could put it up somewhere when it is more usable
or if you can suggest some similar popular packages that would be good
too. Is there something I could drop-in to the attached code and get
something like the attached output that could also be switched to other
data sources?  This right now works via linux fifo and somewhat by UDP.
It can queue data and stop making it if no one seems to be  consuming
it depending on the channel.

Thanks. 

?Mike Marchywka?
44 Crosscreek Trail
Jasper GA 30143
was 306 Charles Cox Drive? Canton, GA 30115
470-758-0799
404-788-1216?
#
I think r-package-devel is a better place for this. CC'ing there.
On Sun, 27 Aug 2023 at 23:50, Mike Marchywka <marchywka at hotmail.com> wrote:
The last time I checked, there wasn't any R package suitable for
plotting high-throughput streaming data.

There's a nice command-line utility called trend [1] that I
extensively used in the past as an oscilloscope to visualize the
output from a DAQ card. I don't see any new development there, but it
does exactly what it promises; it's easy to use, quite configurable
and very fast. Old but gold.

I also explored VisPy, which is much more ambitious, but at that time
the API had a limitation that didn't allow me to achieve what I
required, and I haven't looked at it ever since, but the project seems
in good shape.

[1] https://www.thregr.org/wavexx/software/trend/
[2] https://vispy.org/

Hope it helps,
I?aki