7.00.02.01 - Installing R Packages - Aster R

Teradata Aster® R User GuideUpdate 3

prodname
Aster R
vrm_release
7.00.02.01
created_date
December 2017
category
Programming Reference
User Guide
featnum
B700-1033-700K
This procedure lists steps to install R packages, and assumes that the user has created a repository in the R sandbox area as described in Creating a Repository for R and OS Packages.
  1. Log in to the queen node of the Aster cluster as root.
  2. Copy the R packages into the repository created (/var/opt/teradata/rrepo).
  3. Change to the repository directory. cd /var/opt/teradata/rrepo
  4. Reset the security settings for the rrepo folder. chmod -R 755 *
  5. Install R packages. ncli apm install R --packages=<RPackage1FileName>,<RPackage2FileName>,...

    For example:

    ncli apm install R --packages=lpSolve_5.6.10.tar.gz ncli apm install R --packages=lpSolve_5.6.10.tar.gz,sampling_2.6.tar.gz
    Some R packages may have a different internal structure. If the above command does not work, try using the package name instead of the filename, as shown here:

    ncli apm install R --packages=<RPackage1PackageName>

    For example:

    ncli apm install R --packages=lpSolve