There are basically two options to do this: either you have a dataset of your own, or you download one from the Internet. As a first step, it is, therefore, a good idea to have a data set on your personal computer. What this tutorial eventually comes down to is data: you want to import it fast and efficiently to R.
Want to dive deeper? Check out this DataCamp course on importing data with R, which has a chapter on importing Excel data. At the same time, some of the most common problems that you can face when loading Excel files and spreadsheets into R will be addressed. Both basic commands in R and dedicated packages are covered. This tutorial on reading and importing Excel files into R will give an overview of some of the options that exist to import Excel files and spreadsheets of different extensions to R. It doesn't need to surprise that R has implemented some ways to read, write and manipulate Excel files (and spreadsheets in general). It is an easily accessible tool for organizing, analyzing and storing data in tables and has widespread use in many different application fields all over the world. As most of you know, Excel is a spreadsheet application developed by Microsoft.