If I follow your question correctly, yes.
R Studio allows you to do practically anything reasonable (and unreasonable) with variables you import. Your only limit is your knowledge base.
I recommend reading through R For Data Science, it's a free PDF online you can find. Great way to introduce yourself to R and associated features. Good luck!