Re: [Rd] gettext(msgid, domain="R") doesn't work for some 'msgid':s

2021-11-05 Thread Martin Maechler
> Martin Maechler > on Fri, 5 Nov 2021 17:55:24 +0100 writes: > Tomas Kalibera > on Fri, 5 Nov 2021 16:15:19 +0100 writes: >> On 11/5/21 4:12 PM, Duncan Murdoch wrote: >>> On 05/11/2021 10:51 a.m., Henrik Bengtsson wrote: I'm trying to reuse some of the

Re: [Rd] gettext(msgid, domain="R") doesn't work for some 'msgid':s

2021-11-05 Thread Martin Maechler
> Tomas Kalibera > on Fri, 5 Nov 2021 16:15:19 +0100 writes: > On 11/5/21 4:12 PM, Duncan Murdoch wrote: >> On 05/11/2021 10:51 a.m., Henrik Bengtsson wrote: >>> I'm trying to reuse some of the translations available in base R by >>> using: >>> >>>    gettext

Re: [Rd] gettext(msgid, domain="R") doesn't work for some 'msgid':s

2021-11-05 Thread Tomas Kalibera
On 11/5/21 4:12 PM, Duncan Murdoch wrote: On 05/11/2021 10:51 a.m., Henrik Bengtsson wrote: I'm trying to reuse some of the translations available in base R by using:    gettext(msgid, domain="R") This works great for most 'msgid's, e.g. $ LANGUAGE=de Rscript -e 'gettext("cannot get workin

Re: [Rd] gettext(msgid, domain="R") doesn't work for some 'msgid':s

2021-11-05 Thread Serguei Sokol
Le 05/11/2021 à 15:51, Henrik Bengtsson a écrit : I'm trying to reuse some of the translations available in base R by using: gettext(msgid, domain="R") This works great for most 'msgid's, e.g. $ LANGUAGE=de Rscript -e 'gettext("cannot get working directory", domain="R")' [1] "kann das Arbei

Re: [Rd] gettext(msgid, domain="R") doesn't work for some 'msgid':s

2021-11-05 Thread Duncan Murdoch
On 05/11/2021 10:51 a.m., Henrik Bengtsson wrote: I'm trying to reuse some of the translations available in base R by using: gettext(msgid, domain="R") This works great for most 'msgid's, e.g. $ LANGUAGE=de Rscript -e 'gettext("cannot get working directory", domain="R")' [1] "kann das Arbei

[Rd] gettext(msgid, domain="R") doesn't work for some 'msgid':s

2021-11-05 Thread Henrik Bengtsson
I'm trying to reuse some of the translations available in base R by using: gettext(msgid, domain="R") This works great for most 'msgid's, e.g. $ LANGUAGE=de Rscript -e 'gettext("cannot get working directory", domain="R")' [1] "kann das Arbeitsverzeichnis nicht ermitteln" However, it does not

Re: [Rd] Data Frame Conversion and Table Input

2021-11-05 Thread Duncan Murdoch
On 05/11/2021 8:00 a.m., Dario Strbenac via R-devel wrote: Good day, as.data.frame is documented on ?table and on ?as.data.frame (for list and matrix inputs). For inputs of list type and matrix type, there is an argument optional, which allows preservation of column names. If the input is a ta

[Rd] Data Frame Conversion and Table Input

2021-11-05 Thread Dario Strbenac via R-devel
Good day, as.data.frame is documented on ?table and on ?as.data.frame (for list and matrix inputs). For inputs of list type and matrix type, there is an argument optional, which allows preservation of column names. If the input is a table, there is no such option. Could the API be made consiste

Re: [Rd] .onLoad, packageStartupMessage, and R CMD check

2021-11-05 Thread Michael Chirico via R-devel
Examining more closely, it's a NOTE produced by R CMD check -- originally I had thought it was a WARNING, which I think would have been too strong for this case. A NOTE actually seems fine, on second thought. For a tiny bit of context, it's common for us to issue messaging around some state initia