[R] Putting names on a ggplot

hadley wickham h.wickham at gmail.com
Tue Oct 20 16:59:41 CEST 2009


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


-- 
http://had.co.nz/




More information about the R-help mailing list