- 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")
推薦閱讀
- Practical Data Analysis Cookbook
- Advanced Quantitative Finance with C++
- DevOps入門與實踐
- Internet of Things with Intel Galileo
- 人人都懂設計模式:從生活中領悟設計模式(Python實現)
- Mastering Android Development with Kotlin
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- Getting Started with Eclipse Juno
- Visual Basic 6.0程序設計實驗教程
- Django 3.0入門與實踐
- Beginning C++ Game Programming
- Oracle 12c從入門到精通(視頻教學超值版)
- Python Machine Learning Cookbook
- Access數據庫應用教程(2010版)
- WordPress Search Engine Optimization(Second Edition)