7.00.02.01 - Exporting Data from Aster - 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

Users can use the function ta.pull() to export data from an Aster virtual object to an R object. The function returns an R data frame. By default, character strings including factor levels are encoded as UTF-8.

For example:

> R_women<-ta.pull(tadf_women)
> class(R_women)
[1] "data.frame"

Users can use the function ta.write.csv() to export data from an Aster virtual object to a file in .csv format.

For example:

> class(tadf_women)
[1] "ta.data.frame" 
> ta.write.csv(tadf_women, file="women.csv")