Some convenience functions to manipulate data.frames are subset(), transform(), with() and within().
subset
The subset() function allows you to subset a data.frame in a more convenient way (subset also works with other classes):
subset(mtcars, subset = cyl == 6, select = c("mpg", "...