Re: [R] NA values for "col"

2021-09-27 Thread Rolf Turner
On Mon, 27 Sep 2021 14:54:53 -0700 Bert Gunter wrote: > ... and also note in the *Color Specification* section of ?par, to > which ?points points, > > "Additionally, "transparent" is transparent, useful for filled areas > (such as the background!), and just invisible for things like lines or > t

Re: [R] NA values for "col"

2021-09-27 Thread Bert Gunter
... and also note in the *Color Specification* section of ?par, to which ?points points, "Additionally, "transparent" is transparent, useful for filled areas (such as the background!), and just invisible for things like lines or text. In most circumstances (integer) NA is equivalent to "transparen

Re: [R] NA values for "col"

2021-09-27 Thread Bert Gunter
?text says "... NA values of font are replaced by par("font"), and similarly for col." Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Sep 27, 2021 at 2:

[R] vignette for package splines2 in Journal of Data Science

2021-09-27 Thread Yan, Jun
Dear R-help-listers, Users of splines2 may find the following paper in the Journal of Data Science (https://jds-online.org) interesting: Wang, W. and Yan, J. (2021): Shape-restricted regression splines with R package splines2. Journal of Data Science. 19(3):498–517. https://doi.org/10.6339/21-J

[R] NA values for "col"

2021-09-27 Thread Rolf Turner
I've just noticed what seems to me to be somewhat peculiar behaviour in respect of how different plotting functions treat a specification "col=NA". Consider: plot(1:10) text(4,6,labels="o",col=NA) points(6,4,col=NA) The symbol produced by the call to text() shows up (is black). The symbol prod

Re: [R] Reading File Sizes: very slow!

2021-09-27 Thread Rui Barradas
Hello, R 4.1.0 on Ubuntu 20.04, sessionInfo at the end. I'm arriving a bit late to this thread but here are the timings I'm getting on an 10+ years old PC. 1. I am not getting anything even close to 5 or 10 mins running times. 2. Like Bill said, there seems to be a caching effect, the first r