Displaying 4 results from an estimated 4 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
2025 May 23
1
Formatting zeroes with prettyNum
..."
nMark <- big.mark == "" && small.mark == "" && (notChar || decimal.mark == input.d.mark)
-----Original Message-----
From: Howard, Tim G (DEC) <tim.howard at dec.ny.gov>
Sent: Friday, 23 May 2025 13:18
To: Marttila Mikko <mikko.marttila at orionpharma.com>; R mailing list <r-help at r-project.org>
Subject: RE: Formatting zeroes with prettyNum
[You don't often get email from tim.howard at dec.ny.gov. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
You fed it two characters, "dash" and "...
2025 May 23
1
Formatting zeroes with prettyNum
You fed it two characters, "dash" and "space" and it only wanted one character so it truncated to the first character and warned you that that's what it did.
If you had your space before the dash, it would have used that as your replacement character
> prettyNum(0, zero.print = " - ", replace = TRUE)
[1] " "
Warning message:
In .format.zeros(x,