Displaying 2 results from an estimated 2 matches for "orionpharma".
2024 Oct 25
1
readLines() and unz() and non-empty final line
...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 consistency with 'file()'.
Regards,
Iris
On Fri, Oct 25, 2024, 04:47 Marttila Mikko <mikko.marttila at orionpharma.com>
wrote:
> Thanks Iris, Bert, and Tim.
>
>
>
> Whether unz() is blocking or not by default doesn?t seem to be documented.
> Indeed, thank you Iris for finding out that explicitly opening it as
> blocking would work. That made me wonder if it?s non-blocking by default
>...
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