R Markdown
To use R Markdown, you need to install several packages called yaml
, htmltools
, caTools
, bitops
, evaluate
. To do so, follow these steps
run
Sys.getenv("HOME")
to know the home folder of RAssume that you HOME folder is
Z:\Mes_Documents
. Create a folderZ:\Mes_Documents\libR
.Run the instructions to install the packages
install.packages("yaml", lib="Z:/Mes_Documents/libR")
install.packages("htmltools", lib="Z:/Mes_Documents/libR")
install.packages("caTools", lib="Z:/Mes_Documents/libR")
install.packages("bitops", lib="Z:/Mes_Documents/libR")
install.packages("stringi", lib="Z:/Mes_Documents/libR")
install.packages("stringr", lib="Z:/Mes_Documents/libR")
install.packages("evaluate", lib="Z:/Mes_Documents/libR")
- Upload the packages running
library(yaml)
library(htmltools)
library(caTools)
library(bitops)
Then in R, choose
File/New File/R Markdown