I believe the R-package-devel list is where you should post this, not
here (though you might get lucky here). See here for details:
https://www.r-project.org/mail.html
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka
On Thu, 11 Nov 2021, John Dougherty wrote:
You should probably glance at the R Graphics Cookbook. That was my gateway
to ggplot. I believe ggplot is a part of the tidyverse so there should
good information.
John,
I have Hadley's ggplot2 book and keep referring to it but haven't used it
I have an R color chart downloaded from the Web March 4, 2015. Using it to
set ggplot2 colors R responds with 'Error: Unknown colour name: FF3030' for
a number of these colors.
There are several different color charts for R when I look for a new one but
I cannot tell which one has all colors
I'm writing a script to plot data distributions. It worked in a basic form
and I'm now adding features and tweaking the presentation. When I sourced
the file this error appeared:
Error in p1 <- ggplot(data = pdx_disc, aes(x = NULL, y = cfs)) + geom_boxplot(color =
"#8B", (from
I think it's your xlab. Should be:
### creating reproducible example
library(tidyverse)
rnorm(50) %>%
as_tibble() %>%
rename(cfs = value) -> pdx_disc
ggplot(data = pdx_disc, aes(x = NULL, y = cfs)) +
geom_boxplot(
# custom boxes
color='#8B',
fill='#8B',
On Fri, 12 Nov 2021, Chris Evans wrote:
I think it's your xlab. Should be:
Chris,
Ah, I should know better, but I didn't relate the error message to that
line.
Thank you.
Rich
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
On Fri, 12 Nov 2021, Avi Gross wrote:
Type colors()
Avi,
That's really helpful. Names are more easily grokked than are hex numbers.
Thanks,
Rich
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
Hi Rich,
You don't show the actual code that you used, and I do not use ggplot,
but if you want to use RGB hex codes to define a color, you need to use
'#' as a prefix for the 6 character RGB code:
For example:
> plot(1:10, col = "FF3030")
Error in plot.xy(xy, type, ...) : invalid color
8 matches
Mail list logo