Re: [Rd] Crash/bug when calling match on latin1 strings

2021-10-11 Thread Martin Maechler
> Rui Barradas > on Mon, 11 Oct 2021 07:41:51 +0100 writes: > Hello, > R 4.1.1 on Ubuntu 20.04. > I can reproduce this error but not ~90% of the time, only the 1st time I > run the script. > If I run other (terminal) commands before rerunning the R script it

[Rd] int overflow writing long vectors to socketConnection

2021-10-11 Thread Zafer Barutcuoglu
Hi, Writing >=2GB to a socketConnection (e.g. via writeBin) does not work correctly, because of this int typecast in modules/internet/sockconn.c: > static size_t sock_write(const void *ptr, size_t size, size_t nitems, >Rconnection con) > { > Rsockconn this = (Rsockconn