[Rd] Segfault on read.socket with long message

2020-05-11 Thread Russell Almond
I'm trying to implement a connection between two processes using a simple socket mechanism. The messages are rather long object stored as JSON. R is crashing with a segmentation fault when I try to read my test message (which is 5305 bytes long). I first send the length in bytes and then

Re: [Rd] defining r audio connections

2020-05-11 Thread frederik
On Wed, May 06, 2020 at 02:26:34PM -0400, Duncan Murdoch wrote: On 06/05/2020 1:09 p.m., frede...@ofb.net wrote: I only want an object that I can use `readBin` and `writeBin` on, to read and write audio data using e.g. `snd_pcm_writei` which is part of the `alsa-lib` package. I don't think