Install R at R-project.org
Download and install RStudio at RStudio.com : RStudio is an Integrated Development Environment (IDE) for R.
Open up RStudio to get going
Alternatively:
You can skip installing anything and use RStudio.cloud which runs entirely in the browser but is a bit slower and requires a (free) account