You can import data from xlsx files directly. Check out the packages:
xlsx
And, in case you are confused between R and RStudio, please take a look at this post:
R
RStudio