Loop with letters instead of numbers

I want to run this code 1,372 times with all
of the letters from A to ZTR. The letters will
replace the two x values in the line of code.

x <- subset(DATA, DATA$Symbol=="x")

How can I do this is an effective and efficient way?

Answers and follow-up questions

Answer or follow-up question 1

I figured it out.

Sign in to be able to add an answer or mark this question as resolved.