Displaying 2 results from an estimated 2 matches for "l713".
Did you mean:
1713
2024 Oct 25
1
readLines() and unz() and non-empty final line
...is non-blocking by default. I checked do_unz which calls
R_newunz which calls init_con and the only place in any of those functions
that sets 'blocking' is init_con which sets it to FALSE:
https://github.com/wch/r-source/blob/0c26529e807a9b1dd65f7324958c17bf72e1de1a/src/main/connections.c#L713
I'll open an issue on R-bugzilla and see if they're willing to do something
similar to 'file()'; that is, add a 'blocking' argument to unz. It's hard
to say whether they would choose 'blocking = FALSE' for back compatibility
or 'blocking = TRUE' for cons...
2024 Oct 24
3
readLines() and unz() and non-empty final line
But note:
> zip("hello.zip", "hello.txt")
updating: hello.txt (stored 0%)
> readChar(unz("hello.zip","hello.txt"),100)
[1] "hello"
I leave it to you and other wiser heads to figure out.
Cheers,
Bert
On Thu, Oct 24, 2024 at 8:57?AM Iris Simmons <ikwsimmo at gmail.com> wrote:
> Hi Mikko,
>
>
> I tried running a few