Hi Ulrich,
This worked perfect. Thank you very much.
> library(RJDBC)
> .jaddClassPath("~/mydrivers/td/terajdbc4.jar")
> .jaddClassPath("~/mydrivers/td/tdgssconfig.jar")
> library(teradataR)
> tdConnect("mytd", "tduser", "passwd", "sys_calendar", "jdbc")
> tdf <- td.data.frame("calendar")
> my.stats <- td.stats(tdf,"year_of_calendar", c("cnt","min","max","mean"))
> my.stats
col xcnt xmin xmax xmean
1 year_of_calendar 73414 1900 2100 2000
Regards
Sree
↧