Setting Up R
A personal reference guide for installing R
- R for windows in C:/
- Rtools in C:/
- Rstudio in C:/
- Add paths to $PATH
- Right click start button on taskbar
- Click “System”
- Click “Advanced System Settings”
- Click “Environment Variables”
- In “System Variables” window, double click “Path”
- Add the following paths:
- C:\R\R-4.1.2\
- C:\R\R-4.1.2\bin\
- C:\rtools40
- Install some R packages (copy paste each line in the console)
```{r, eval=TRUE}`r ''`
install.packages("devtools")
install.packages("ggplot2")
install.packages("plotly")
install.packages("shiny")
install.packages("tinytex")
install.packages("reticulate")
install.packages("gt")
install.packages("ggExtra")
install.packages("kableExtra")
install.packages("ggpmisc")
install.packages("gggrid")
install.packages("ggraph")
install.packages("gginnards")
install.packages("gganimate")
install.packages("ggforce")
install.packages("ggtext")
install.packages("ggthemes")
install.packages("gifski")
install.packages("cowplot")
install.packages("svglite")
install.packages("tidyverse")
install.packages("rJava")
install.packages("reshape2")
install.packages("ggpmisc")
install.packages("magick")
install.packages('knitr')
install.packages("writexl")
install.packages("gapminder")
remotes::install_github('rstudio/DT')
remotes::install_github("JohnCoene/echarts4r")
remotes::install_github("schochastics/graphlayouts")
remotes::install_github("rstudio/webshot2")
remotes::install_github("hafen/r2d3svg")
remotes::install_github('rstudio/rmarkdown')
remotes::install_github('rstudio/bookdown')
remotes::install_github('rstudio/blogdown')
remotes::install_github('rstudio/pagedown')
remotes::install_github('yihui/xaringan')
devtools::install_github("gadenbuie/xaringanExtra")
remotes::install_github("juba/rmdformats")
devtools::install_github("swsoyee/r3dmol")
remotes::install_github("mwip/beautifyR")
devtools::install_github('emitanaka/anicon')
devtools::install_github("rstudio/fontawesome")
remotes::install_github("mitchelloharawild/icons")
devtools::install_github("zachcp/chemdoodle")
devtools::install_github('r-lib/ragg')
devtools::install_github('koenderks/aRtsy')
devtools::install_github("rstudio/distill")
remotes::install_github("rstudio/rticles")
devtools::install_github("EvaMaeRey/flipbookr")
remotes::install_github("dreamRs/esquisse")
```
For Wowchemy Site