Re: [Rd] Slow try in combination with do.call

2021-10-12 Thread Martin Maechler
Just in case, you hadn't noticed: Since Sep.17, we have had the faster try() now in both R-devel and "R 4.1.1 patched" which will be released as R 4.1.2 by the end of this month, with NEWS entry • try() is considerably faster in case of an error and long call, as e.g., from some do.c

Re: [Rd] Slow try in combination with do.call

2021-10-12 Thread nos...@altfeld-im.de
In fact an attentive user reported the same type of (slow due to deparse) problem in may tryCatchLog package recently when using a large sparse matrix https://github.com/aryoda/tryCatchLog/issues/68 and I have fixed it by explicitly using the nlines arg of deparse() instead of using as.char

Re: [Rd] int overflow writing long vectors to socketConnection

2021-10-12 Thread Martin Maechler
> Zafer Barutcuoglu > on Tue, 12 Oct 2021 02:04:40 -0400 writes: > 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