- Modern R Programming Cookbook
- Jaynal Abedin
- 98字
- 2021-07-08 09:48:29
How to do it…
Take a look at the following steps:
- If you want to check which version of ggplot2 has been installed onto your computer, you can run the following command:
library(versions)
installed.versions("ggplot2")
The preceding command will show the following output on the console screen:
> installed.versions("ggplot2")
Checking package in 'C:/rPackages'
(as 'lib' is unspecified)
[1] "2.2.0"
>
- Now, to install the required version of any library, you first need to know the version number and how that has been written in the library documentation. Then, use that version number as follows:
install.versions("ggplot2", versions = "2.2.0")
推薦閱讀
- GitLab Cookbook
- Mastering JavaScript Object-Oriented Programming
- SQL Server 2016從入門到精通(視頻教學(xué)超值版)
- Java Web基礎(chǔ)與實例教程(第2版·微課版)
- Django開發(fā)從入門到實踐
- Drupal 8 Configuration Management
- SharePoint Development with the SharePoint Framework
- 深入RabbitMQ
- 網(wǎng)站構(gòu)建技術(shù)
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學(xué)版)
- Instant Nancy Web Development
- 軟件測試實用教程
- 零基礎(chǔ)學(xué)C++(升級版)
- Web前端開發(fā)最佳實踐
- Node.js實戰(zhàn):分布式系統(tǒng)中的后端服務(wù)開發(fā)