package 'tidyverse' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sueth\AppData\Local\Temp\RtmpwR45rs\downloaded_packages
Vivek Jason
1. Installing R
2. Installing RStudio
3. Installing the tidyverse package
4. Using R Tools for package installation and updates
R is a programming language and software environment for statistical computing and graphics.
RStudio is an integrated development environment (IDE) for R. It makes it easier to write and manage your R code.
Visit https://www.rstudio.com/products/rstudio/download/ and click on the “Download” button under RStudio Desktop.
Tidyverse is a collection of R packages designed for data science. All packages share an underlying design philosophy and grammar.
To install the tidyverse package, run the following command in the RStudio console:
After installation, you can load the tidyverse package with:
R Tools is a collection of tools that integrates nicely with R and RStudio. It’s essential for developing packages and includes tools like gcc and make.
Please note that as of 2021, RTools has been superseded by RTools40 for R versions 4.0.0 and onwards. The install process is similar but you should consult the most up-to-date resources.
- Needed if you plan to create your own R packages
- Useful if you want to install a development version of a package hosted on GitHub
Visit CRAN’s RTools download page at https://cran.r-project.org/bin/windows/Rtools/.
In RStudio, run the following command:
If RTools was installed correctly, it should show the path to the `make` executable.
Now, you can use the `install.packages()` function to install packages from source or the `devtools::install_github()` function to install packages from GitHub.