How to install RStudio and setup RMarkdown
Posted: Wed Nov 07, 2018 1:58 pm
Here is the procedure for installing RStudio and generating HTML files from RMarkdown scripts :
Prerequisite:
- Install R platform
1- Download the Free version of RStudio Desktop installer for your operating system from here:
https://www.rstudio.com/products/rstudio/download/
2- Install RStudio by executing the downloaded setup program.
3- Open RStudio:
4- Create your first R Markdown document:
5- Launch the knit option:
Prerequisite:
- Install R platform
1- Download the Free version of RStudio Desktop installer for your operating system from here:
https://www.rstudio.com/products/rstudio/download/
2- Install RStudio by executing the downloaded setup program.
3- Open RStudio:
4- Create your first R Markdown document:
- - Click on File / New File / R Markdown top menu
- If RStudio needs to install new packages, click on "Yes"
- In the popup window, define the Title (set to Test), the Author and the Default Output Format (set to HTML).
- Finally, press the OK button.
5- Launch the knit option:
- - Define the file name where the newly created R Markdown document will be stored (for example: test.rmd).
- Click on knit option and Knit to HTML to produce a HTML file.