Installing R Packages - Aster R

Teradata Aster® R User GuideUpdate 3

Product
Aster R
Release Number
7.00.02.01
Published
December 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
fop1497542774450.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
fbp1477004286096
lifecycle
previous
Product Category
Software
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