Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

r
version

How to check R version

Educative Answers Team
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
Scroll down to see "version.string R"

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

RELATED TAGS

r
version
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring