How to check R version

widget

R is a programming language that was created for statistical computation and is extremely popular for data analysis among Data Miners and Statisticians. R language has a Command Line Interface, but there are several other softwares that support Graphical User Interface such as Rstudio and Jupyter Notebooks. R includes methods like linear regression, time series, statistical interference, and even machine learning algorithms.

When working with R, users often want to check the version of R stored on their system to ensure that they do not use an outdated version. Here area couple of ways to check the version:

Method 1

To check using the R console or RStudio, write version or R.version():

version

Method 2

If you are using RStudio, you can go to Tools -> Global Options to check your R version:

svg viewer

Method 3

You can write R --version in the Linux terminal:

# press run button.
# terminal will appear.
# enter R --version command
Copyright ©2024 Educative, Inc. All rights reserved