--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: http://gist.github.com/270442
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
You want:
names(df) <- c("Special name(1)","Special name(2)")
parameter <- "`Special name(1)`"
ggplot(df, aes_string(x = parameter, y = parameter)) + geom_point()
When you have non-syntactic names, you need to surround them in `.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/