Converting between Aster R Virtual Objects and Regular R Objects - 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

Aster R provides functions to automatically convert between virtual and regular R objects.

This table lists brief descriptions of these functions.

Function Description
ta.data.frame()

Creates a virtual data frame based on an underlying SELECT query.

The SELECT query is created based on the input arguments.

as.ta.data.frame() Converts an existing R object or Aster virtual object to an Aster virtual data frame.
as.data.frame() Converts a table in the Aster Database to a virtual object that can be accessed using Aster R functions.
as.ta.factor()

Converts an R object or Aster R virtual object to an Aster R virtual factor.

The object to be converted must have a single column of type ‘character’.
as.ta.vector()

Converts an R object or Aster R virtual object to an Aster R virtual vector.

The object to be converted must have a single column.
as.vector() Converts a virtual vector to a regular R vector.