I'm pretty confused as to what you're trying to do. mtcars is a data
frame, and ggplot works best with data frames, so why are you using
llply? In any event, you're operating on columns 9:11 of mtcars, which
doesn't include the 'cyl' column, which is a problem right there.
Personally, to plot multiple columns I'd do something like this:
library( reshape )
mtcars1 <- mtcars[ c( 2, 9:11 ) ]
mtcars1 <- melt( mtcars, id.vars="cyl" )
ggplot( mtcars1, aes( cyl, value ) ) + geom_boxplot() + facet_grid(
variable~., scales="free_y" )
Ben