
You can start using R for data analysis and statistical computing right away. That’s it! You have now successfully installed R on your Ubuntu system. Once the installation is finished, you can launch R studio from the applications menu. But I suggest using the `apt` package manager to install the locally downloaded files. Now, we can install it using the `dpkg` command line tool. deb file from the R Studio website and then use the dpkg command to install it.ĭownload the R-Studio Debian package with one of the following commands: To install R Studio, you can download the. If you want to use R with a user-friendly interface, you can also install R Studio, which is an integrated development environment for R. The ‘c2d4u’ repository is only available for LTS releases. The c2d4u contains 5000+ CRAN packages for the installation th Run this command (as root or by prefixing sudo) to add the current R 4.0 or later ‘c2d4u’ repository: sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+ You should have R version 4.0.3 or higher. This will display the version of R that you have installed. Once the installation is finished, check the R version: R -version.This installs the R packages and dependencies on your system. Then run sudo apt install -no-install-recommends r-base



If you’re new to R or to installing software on Ubuntu, this step-by-step guide will help you install R on your Ubuntu systems.
