- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to find the R version you are using?
Most of the times, we need to use packages in R and some packages are restricted to different versions in R, generally to newer versions. Therefore, we might need to find which version of R we are using. To find the R version, we can directly use the command R.Version().
Example
R.Version()
Output
$platform [1] "x86_64−w64−mingw32" $arch [1] "x86_64" $os [1] "mingw32" $system [1] "x86_64, mingw32" $status [1] "" $major [1] "4" $minor [1] "0.2" $year [1] "2020" $month [1] "06" $day [1] "22" $`svn rev` [1] "78730" $language [1] "R" $version.string [1] "R version 4.0.2 (2020−06−22)" $nickname [1] "Taking Off Again"
We can also use the command R.version.string for the same purpose as shown below −
Example
R.version.string
Output
[1] "R version 4.0.2 (2020−06−22)"
- Related Articles
- How to find the device driver version using PowerShell?
- How to find the version of Java using command line?
- How can you detect the version of a browser using Javascript?
- How to find a network adapter driver version using PowerShell?
- How to install the specific version of the PowerShell module version?
- How to retrieve Android API version programmatically using Kotlin?
- How to find the proportion using normal distribution in R?
- How to find the p-value using F statistic in R?
- How to find the point estimate using regression model in R?
- How To Check MySQL Version
- Get Application Version using Python
- How to find the less than probability using normal distribution in R?
- How to Find out Linux Version currently Installed on your Machine?
- How to check the system version of Android?
- How to change the TLS version in PowerShell?

Advertisements