how to select few varaiables for corelation

hello everyone , can someone tell me how to select few variables from a set of data for finding corelation.

There are many ways to subset a data frame. Maybe you could post a concrete example to receive specific help.