The Teradata VM image includes packages allowing you to install and use R table operators for data analysis. The following components must be installed before you can use R functionality with Teradata Database:
- R interpreter
- Fortran compiler
- udfGPL library
The ExecR table operator is required and is used to execute R scripts. For more information, see Creating the ExecR System Table Operator.
To apply innovative statistical techniques to analyze data stored in Teradata Database, install the R add-on packages from the Comprehensive R Archive Network (CRAN). After they are installed, a new library (pkg) can be used within an R script. For more information, see Installing Optional R Add-On Packages.
For additional information about installing R components and packages and using R, see SQL External Routine Programming.