[R] Is there a canonical way to pronounce CRAN?

2022-05-04 Thread Roland Rau via R-help

Dear all,

I talked with colleagues this morning and we realized that some people 
(=me) pronounce CRAN like the German word "Kran" (probably pronounced 
like "cruhn" in English -- if it was a word).
My colleague pronounced it as "Sea-Ran" or "Sea-Run". The colleague was 
a student and has worked at the same institution as an R Core Developer 
and heard it from him personally.


So now I am puzzled. Have I been wrong about 43% of my life? ;-)

Honestly: Is there a unique way how the core developers prounounce CRAN?

Not an urgent question at all but maybe interesting to many of us.

Thanks,
Roland

--
This mail has been sent through the MPI for Demographic ...{{dropped:2}}

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] What is the HEX code for "transparent" color?

2024-06-07 Thread Roland Rau via R-help

On 6/6/24 18:41, Duncan Murdoch wrote:

On 2024-06-06 4:37 a.m., Yosu Yurramendi wrote:

What is the HEX code for "transparent" color?
I've tried "" "FF00" "", but they don't work.


If the other answers don't solve your problem, you should give us some 
context.  Not all graphics functions in R can handle transparency, so 
please show us some reproducible code for what you are trying.


Duncan Murdoch



I usually use the alpha argument of the rgb() function for transparency.
Does this code snippet help to give you an idea how it works.

plot(1, 1, type="n", xlim=c(0,10), ylim=c(0,10))
rect(xleft=0, xright=7.5, ybottom=0, ytop=7.5,
 col=rgb(0, 0, 1, alpha=0.5))
rect(xleft=2.5, xright=10, ybottom=2.5, ytop=10,
 col=rgb(1, 0, 0, alpha=0.5))

Please check
?rgb
Especially the "Details" section should be helpful where you will find a 
list of devices which are supported or not supported.


I hope this helps a bit.

All the best,
Roland


--
This mail has been sent through the MPI for Demographic ...{{dropped:2}}

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.