I know the feeling but IMHO this is the best way to learn.
If its any help to you, its best to start with R using only a small part of dataset/variables so that your code can run quickly when initially testing.
In R Studio you can do File -> New File -> R Script. I then start to build my code...