I think this is a super quick thing, but I figured I\'d ask since I can\'t for the life of me remember how to do it...
Suppose, I have a data.frame (call it, DF
DF
Is this what you want?
DF[ ,foo][1]
Ah, Joshua posted while I was typing... You can aslo select regions of the columns, eg:
DF[1:3,foo][1]