Re: [Rd] An interesting chat with ChatGPT

2023-02-16 Thread Ravi Varadhan via R-devel
ChatGPT provided an R code with error when I asked a question related to prediction of a new data point for linear mixed effects model. So, it is not immune to coding mistakes! Ravi From: R-devel on behalf of Boris Steipe Sent: Monday, February 13, 2023 10:5

[Rd] Regenerate m4/gettext.m4 with updated AM_GNU_GETTEXT?

2023-02-16 Thread Mikael Jagan
Currently, m4/gettext.m4 contains an old version of Autoconf macro AM_GNU_GETTEXT relying on internal symbols (e.g., _nl_expand_alias) to detect broken implementations of GNU gettext. System libraries are searched for the internal symbols unconditionally, i.e., even when linking against a static

Re: [Rd] Question on non-blocking socket

2023-02-16 Thread Charlie Gao via R-devel
> Date: Wed, 15 Feb 2023 01:24:26 +0100 > From: Ben Engbers > To: r-devel@r-project.org > Subject: [Rd] Question on non-blocking socket > Message-ID: <68ce63b0-7e91-6372-6926-59f3fcfff...@be-logical.nl> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Hi, > > December 27, 2021 I

Re: [Rd] [EXT] Re: End of Support Date of Version 3 of “R”

2023-02-16 Thread Eric Bernard
Thank you, Marc, for this detailed reply. De : Marc Schwartz Envoyé : mercredi 15 février 2023 16:55 À : Eric Bernard ; r-devel@r-project.org Objet : [EXT] Re: [Rd] End of Support Date of Version 3 of “R” Attention Expéditeur externe Ne cliquez sur aucun lien et n’ouvrez aucune pièce jointe à

Re: [Rd] Robustifying R_CleanTempDir a bit more

2023-02-16 Thread Ivan Krylov
Thanks for the quick reply! On Thu, 16 Feb 2023 15:43:40 +0100 Tomas Kalibera wrote: > Please see 83851 from earlier today which does a bit more of > robustification, and if you find any problem in it, please let me > know. 83851 is an improvement, but it does let single quotes through, unfort

Re: [Rd] Robustifying R_CleanTempDir a bit more

2023-02-16 Thread Tomas Kalibera
On 2/16/23 15:43, Tomas Kalibera wrote: On 2/16/23 15:09, Ivan Krylov wrote: Hello, This is probably a very minor point, but R_CleanTempDir may still have a shell injection in it. I couldn't find a way to shoot the user in the foot in a significant way (by, say, accidentally removing ~), than

Re: [Rd] Robustifying R_CleanTempDir a bit more

2023-02-16 Thread Tomas Kalibera
On 2/16/23 15:09, Ivan Krylov wrote: Hello, This is probably a very minor point, but R_CleanTempDir may still have a shell injection in it. I couldn't find a way to shoot the user in the foot in a significant way (by, say, accidentally removing ~), thanks to R disallowing spaces in the path, but

[Rd] Robustifying R_CleanTempDir a bit more

2023-02-16 Thread Ivan Krylov
Hello, This is probably a very minor point, but R_CleanTempDir may still have a shell injection in it. I couldn't find a way to shoot the user in the foot in a significant way (by, say, accidentally removing ~), thanks to R disallowing spaces in the path, but if Sys_TempDir somehow acquires a valu

[Rd] User-defined RNG with the standalone Rmath library

2023-02-16 Thread Mark Clements via R-devel
I have two questions about using a user-defined random number generator (RNG) with the standalone Rmath library. The default RNG with the standalone Rmath library is the Marsaglia-multicarry generator, which has poor properties. The "R Installation and Administration" manual, in the section "The