R Knit Package

Lately I found the knitr package on R bloggers and interestingly, there are people who use R directly to create updated figures on their websites, including their latest data discovieries.

You can find a great documentation here: https://www.rdocumentation.org/packages/knitr/versions/1.30

Install and use KnitR

Install it with:

install.packages('knitr')

And once your Rmd document is ready, you have to simply execute the following:

#knitt the specified file on its current folder to test its view
rmarkdown::render('YourFile.Rmd',
                  output_file = paste('index', 
                                      '.html', sep=''))

After executing this, a new file index.html will be created - This is your new Static Site.