The dplyr package's select statement supports starts_with and ends_with. For example, this selects the columns of the iris data frame that start with Petal
library(dplyr)
select(iris, starts_with("Petal"))
select supports other subcommands too. Try ?select .