Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Achim Zeileis
On Fri, 28 Apr 2023, Duncan Murdoch wrote: On 28/04/2023 6:18 a.m., Achim Zeileis wrote: On Fri, 28 Apr 2023, Achim Zeileis wrote: This was introduced in 4.3.0 (hence Rui cannot reproduce it in 4.2.3). It's a bug and was introduced when fixing this other bug:

Re: [R] grubbs test to detect all outliers

2023-04-28 Thread Rui Barradas
Às 14:09 de 28/04/2023, AbouEl-Makarim Aboueissa escreveu: *R: *Grubbs Test to detect all outliers Per group for all columns in a data frame Dear All: good morning I have a dataset (as an example) with two column factors (factor1 and factor2) and 5 numerical columns (X,Y,Z,U,V). The X and Y

[R] grubbs test to detect all outliers

2023-04-28 Thread AbouEl-Makarim Aboueissa
*R: *Grubbs Test to detect all outliers Per group for all columns in a data frame Dear All: good morning I have a dataset (as an example) with two column factors (factor1 and factor2) and 5 numerical columns (X,Y,Z,U,V). The X and Y columns have same length as factor1; and Z, U, and V have

Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Duncan Murdoch
On 28/04/2023 6:18 a.m., Achim Zeileis wrote: On Fri, 28 Apr 2023, Achim Zeileis wrote: This was introduced in 4.3.0 (hence Rui cannot reproduce it in 4.2.3). It's a bug and was introduced when fixing this other bug: https://bugs.R-project.org/show_bug.cgi?id=18476

Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Stevie Pederson
Thank you all for the rapid responses & testing. I was aware of the n>=3 limit in RColorBrewer::brewer.pal so wasn't quite sure if it was a new constraint introduced intentionally. Glad to have been helpful in finding this too. All the best On Fri, 28 Apr 2023 at 19:53, Rui Barradas wrote: >

Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Rui Barradas
Às 11:07 de 28/04/2023, Achim Zeileis escreveu: This was introduced in 4.3.0 (hence Rui cannot reproduce it in 4.2.3). It's a bug and was introduced when fixing this other bug: https://bugs.R-project.org/show_bug.cgi?id=18476

Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Achim Zeileis
On Fri, 28 Apr 2023, Achim Zeileis wrote: This was introduced in 4.3.0 (hence Rui cannot reproduce it in 4.2.3). It's a bug and was introduced when fixing this other bug: https://bugs.R-project.org/show_bug.cgi?id=18476 https://hypatia.math.ethz.ch/pipermail/r-help/2023-February/476960.html

Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Achim Zeileis
This was introduced in 4.3.0 (hence Rui cannot reproduce it in 4.2.3). It's a bug and was introduced when fixing this other bug: https://bugs.R-project.org/show_bug.cgi?id=18476 https://hypatia.math.ethz.ch/pipermail/r-help/2023-February/476960.html Apparently, it only affects the case with n

Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Duncan Murdoch
This is a 4.3.0 reversion. I'm seeing it as well on R version 4.3.0 RC (2023-04-13 r84266) Platform: x86_64-apple-darwin20 (64-bit) Running under: macOS Monterey 12.6.5 Duncan Murdoch On 28/04/2023 5:51 a.m., Rui Barradas wrote: Às 06:01 de 28/04/2023, Stevie Pederson escreveu: Hi,

Re: [R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Rui Barradas
Às 06:01 de 28/04/2023, Stevie Pederson escreveu: Hi, I'm not sure if this is a bug or a feature, but after updating to Rv4.3, if requesting two colours from hcl.colors() you now get the same colour twice. This occurs for all palettes I've tried. My reprex: hcl.colors(2, "Vik") [1] "#F1F1F1"

[R] grDevices::hcl.colors using two colours: Bug or Feature?

2023-04-28 Thread Stevie Pederson
Hi, I'm not sure if this is a bug or a feature, but after updating to Rv4.3, if requesting two colours from hcl.colors() you now get the same colour twice. This occurs for all palettes I've tried. My reprex: hcl.colors(2, "Vik") [1] "#F1F1F1" "#F1F1F1" As I have multiple workflows I run

Re: [R] knitr and tinytex

2023-04-28 Thread Steven Yen
Here’s what I found: Running the line commands install.packages("knitr") install.packages('tinytex') and interactively in RStudio: Tools->Install Packages -> … both work. Thank you! Steven from iPhone > On Apr 27, 2023, at 8:26 AM, Steven T. Yen wrote: > > Dear tinytex users > > I