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 = 
"#00008B",  (from all_disc_boxplot.r#9) :
  could not find function "<-<-"

Line 9 in the script defines the first boxplot:
p1 <- ggplot(data = pdx_disc, aes(x = NULL, y = cfs)) +
    geom_boxplot(
        # custom boxes
        color='#00008B',
        fill='#00008B',
        alpha=0.2,
        # custom outliers
        outlier.color='#B22222',
        outlier.fill='#FF3030',
        outlier.size=2) +
    coord_flip() +
    xlab = 'Portland Discharge'

I don't see any <-<- (nor have I before now) and I need help understanding
the source of this error.

TIA,

Rich

______________________________________________
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.

Reply via email to