[R] Putting names on a ggplot

John Kane jrkrideau at yahoo.ca
Thu Oct 22 15:57:11 CEST 2009



--- On Tue, 10/20/09, hadley wickham <h.wickham at gmail.com> wrote:

> From: hadley wickham <h.wickham at gmail.com>
> Subject: Re: [R] Putting names on a ggplot
> To: "John Kane" <jrkrideau at yahoo.ca>
> Cc: ml at z107.de, "R R-help" <r-help at stat.math.ethz.ch>
> Received: Tuesday, October 20, 2009, 10:59 AM
> On Sun, Oct 18, 2009 at 10:29 AM,
> John Kane <jrkrideau at yahoo.ca>
> wrote:
> > Thanks Stefan, the annotate approach works
> beautifully.  I had not got that far in Hadley's book
> apparently :(
> >
> > I'm not convinced though that the explaination
> >
> >> you shouldn't use aes in this case since nampost,
> >> temprange, ... are not
> >> part of the dataframe year.
> >
> > makes sense since it seems to work in this case unless
> I am missing something obvious. Mind you I'm good at missing
> the obvious especially in ggplot.
> 
> It currently works (because I can't figure out how to make
> it an error) but you really should not do it.
> 
> Hadley

Now you tell me! I was a bit surprised when it worked the first time but I'm still stumbling around with ggplot.  I'll put it into my list of things _not_ to do.   

I vote for fortunes too. 




      __________________________________________________________________
Be smarter than spam. See how smart Spa
k on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca




More information about the R-help mailing list