Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Ivan Krylov
On Tue, 24 Jan 2023 21:33:48 + David Stevens wrote: > Simple expressions on plots, such as parse(text='x >= y') have been > resulting in just a placeholder box (x box y and not the symbol) in > my R plot labels in windows, R v 4.2.2. Here's a recently fixed bug that may be related:

Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Richard O'Keefe
plot(1,1, main=quote(x>=y)) produces the symbol for me. plot(1,1, main=parse(text="x>=y")) also produces the symbol. setting value version R version 4.2.2 Patched (2022-11-10 r83330) os Ubuntu 22.04.1 LTS system x86_64, linux-gnu ui X11 language en_NZ:en collate

Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Bert Gunter
Also works for me on a Mac Ventura in the RStudio graphics device. Just for the heckuva it, does plot(1,1,main= quote( x >= y )) work? I shouldn't think so, but ... Cheers, Bert On Tue, Jan 24, 2023 at 1:43 PM David Stevens wrote: > Simple expressions on plots, such as parse(text='x >= y')

Re: [R] Partial matching with $ extractor.

2023-01-24 Thread Rolf Turner
On Tue, 24 Jan 2023 17:16:44 -0500 Andrew Simmons wrote: > I tried this again with R 2.15.3, the oldest version I have installed, > and I still got the same behaviour. It extracts the first exact match, > then the only partial match, then NULL. Thanks for that. I am *sure* that I had

Re: [R] Covid-19 Variants & Lineages

2023-01-24 Thread Leonard Mada via R-help
Dear Ivan, Thank you very much. Indeed, I missed the download button. The csv file seems to contain all the mutations in a usable format. Sincerely, Leonard On 1/24/2023 11:29 PM, Ivan Krylov wrote: On Tue, 24 Jan 2023 22:26:34 +0200 Leonard Mada via R-help wrote: The data on the

Re: [R] Partial matching with $ extractor.

2023-01-24 Thread Andrew Simmons
I tried this again with R 2.15.3, the oldest version I have installed, and I still got the same behaviour. It extracts the first exact match, then the only partial match, then NULL. On Tue, Jan 24, 2023 at 5:04 PM Rolf Turner wrote: > > > Has something changed, but I missed it? > > My

Re: [R] Partial matching with $ extractor.

2023-01-24 Thread Andrew Simmons
junk$y extracts the element named "y" because it found an exact match for the name. junk$yu extracts nothing because it does not find an exact match and finds multiple partial matches. junk$yuc or junk$yur would work because it finds no exact match and then exactly one partial match. On Tue,

Re: [R] Flickering when scrolling in R graphics windows

2023-01-24 Thread Ziyun Tang
On Tue, Jan 24, 2023 at 4:50 AM Martin Maechler wrote: > > > Ziyun Tang > > on Sat, 21 Jan 2023 15:14:15 -0500 writes: > > > Hello, I have been experiencing some issues regarding scrolling with > > the mouse or trackpad in R graphics windows (from the base graphics > >

[R] Partial matching with $ extractor.

2023-01-24 Thread Rolf Turner
Has something changed, but I missed it? My recollection is that $ extraction used partial matching. E.g. if one did junk <- list(yuck=1,yurk=2,y=3) junk$y then one would get 1 as the result; probably *not* the desired result. See fortunes::fortune("toad"). To get the desired result,

Re: [R] package FactoMineR

2023-01-24 Thread varin sacha via R-help
Dear Petr, Dear Rui, Thanks for your response. I will thus try biplot thanks for the advice. Best, Sacha Envoyé de mon iPhone > Le 24 janv. 2023 à 11:09, PIKAL Petr a écrit : > > Hallo Sacha > > AFAIK the functions in FactoMineR do not enable to manipulate label size. > Plot > is

Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Spencer Graves
On 1/24/23 3:33 PM, David Stevens wrote: Simple expressions on plots, such as parse(text='x >= y') have been resulting in just a placeholder box (x box y and not the symbol) in my R plot labels in windows, R v 4.2.2. I haven't down an exhaustive test but <= and >= have this behavior.

[R] Plotmath isn't working for special characters

2023-01-24 Thread David Stevens
Simple expressions on plots, such as parse(text='x >= y') have been resulting in just a placeholder box (x box y and not the symbol) in my R plot labels in windows, R v 4.2.2. I haven't down an exhaustive test but <= and >= have this behavior. plot(1,1,main=parse(text="x >= y")) Has anyone

Re: [R] Covid-19 Variants & Lineages

2023-01-24 Thread Ivan Krylov
On Tue, 24 Jan 2023 22:26:34 +0200 Leonard Mada via R-help wrote: > The data on the NCBI page "Explore in SARS-CoV-2 Variants Overview" > seems very difficult to download: > https://www.ncbi.nlm.nih.gov/activ > E.g.: (in the lower-left corner, but impossible to copy) > NSP1: S135R > NSP13:

[R] Covid-19 Variants & Lineages

2023-01-24 Thread Leonard Mada via R-help
Dear R-Users, 1.) Is there a package which gives the full code of a Covid-19 lineage/variant? E.g. Omicron = B.1.1.529, while BA correspond to specific subtypes of Omicron: BA.x: BA.1 = B.1.1.529.1; BA.1.1 = B.1.1.529.1.1; BA.1.1.5 = B.1.1.529.1.1.5; Is there any package to offer such

Re: [R] lattice xyplot: trouble about the use of yscale.components to start the yscale from zero

2023-01-24 Thread Laurent Rhelp
Thank you very much for the typo !! and the example about the consequences.  I did not know about the option warnPartialMatchDollar = TRUE, I tested it with my mistake it is very effective indeed. This option should be TRUE by default. I edited my mistake but there is still the trouble, the

Re: [R] yamamoto

2023-01-24 Thread Duncan Murdoch
On 24/01/2023 10:29 a.m., Nick Wray wrote: Hello I am trying to use the yamamoto function, as given in an example: on this site: R: Yamamoto (r-project.org) but it doesn't seem to give the package when the function comes

[R] Scrub last query on yamamoto

2023-01-24 Thread Nick Wray
Ach please scrub my last email - I didn't realise that the package name was given without it being expicit in the site quoted Sorry Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

[R] yamamoto

2023-01-24 Thread Nick Wray
Hello I am trying to use the yamamoto function, as given in an example: on this site: R: Yamamoto (r-project.org) but it doesn't seem to give the package when the function comes and it doesn't work in base. I can't

[R] INSUBSCRIBE

2023-01-24 Thread Lensing, Shelly Y
On Jan 24, 2023, at 5:00 AM, r-help-requ...@r-project.org wrote:  Send R-help mailing list submissions to r-help@ r-project. org To subscribe or unsubscribe via the World Wide Web, visit https: //urldefense. proofpoint.  com/v2/url?u=https-3A__stat. ethz. 

Re: [R] package FactoMineR

2023-01-24 Thread PIKAL Petr
Hallo Sacha AFAIK the functions in FactoMineR do not enable to manipulate label size. Plot is performed by this part: if (graph & (ncp > 1)) { print(plot(res, axes = axes)) if (!is.null(quanti.sup)) print(plot(res, choix = "quanti.sup", axes = axes,

Re: [R] Flickering when scrolling in R graphics windows

2023-01-24 Thread Martin Maechler
> Ziyun Tang > on Sat, 21 Jan 2023 15:14:15 -0500 writes: > Hello, I have been experiencing some issues regarding scrolling with > the mouse or trackpad in R graphics windows (from the base graphics > package), which sometimes results in flickering, and wanted to see if