- Modern R Programming Cookbook
- Jaynal Abedin
- 56字
- 2021-07-08 09:48:27
How to do it…
Under the default utils library, there is a function called install.packages() to install a package from within the R console. You can use the command install.packages(). This command will prompt you to select the appropriate server CRAN.
To install packages using this approach, the computer must have an active internet connection.