Install Open Source R on Ubuntu | Teradata Package for R - Installing Open Source R on Ubuntu - Teradata Package for R

Teradata® Package for R User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for R
Release Number
17.20
Published
March 2024
ft:locale
en-US
ft:lastEdition
2024-04-09
dita:mapPath
efv1707506846369.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
nqx1518630623256
lifecycle
latest
Product Category
Teradata Vantage
Follow the steps here to install R 3.6.x on Ubuntu.
The minimum R version Teradata supports is 3.6.3. If you already have R version 3.6.3 and later installed, you can skip this section.
For additional information, refer to the official R Project site https://cloud.r-project.org/bin/linux/ubuntu/.
  1. Add an entry in the /etc/apt/sources.list file, to obtain the latest R 3.6 package from a CRAN mirror site.
    1. Using vi command to open the /etc/apt/sources.list file in the text editor.
      sudo vi /etc/apt/sources.list
    2. Add the following entry at the end of the file for R 3.6.
      deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran36/
    3. Save and exit the text editor.
  2. The Ubuntu archives on CRAN are signed with a key. The key ID is E084DAB9. Add the key to your system and then feed it to apt-key.
    gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E084DAB9 
    gpg -a --export E084DAB9 | sudo apt-key add -
    
  3. Install the complete R system.
    sudo apt-get update
    sudo apt-get install r-base