Skip to content
Prev 61774 / 63424 Next

random network disconnects

? Mon, 31 Jul 2023 16:43:17 +0100
Patrick Burns <pburns at pburns.seanet.com> ?????:
These sound like error codes returned from the operating system, which
R has no choice but forward to the user. (Well, in this case the error
turns out to be transient, but files are unfortunately fraught with
peril with no easy solutions [*].)

Even using system call tracing or setting a symbolic debugger breakpoint
on an error return from cat() will only tell you the OS error code and
the file on which the operation failed, both of which you already know.
Getting to the root of the problem will likely involve drilling down
into the details of the exact networked filesystem used, which R is
supposed to know nothing about. Maybe you could ask on ServerFault or
on #linux / #windows / #<applicable server OS> on Libera.Char?