DataStage with R functions

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
cassi_bsb
Participant
Posts: 11
Joined: Thu Oct 25, 2007 12:33 pm

DataStage with R functions

Post by cassi_bsb »

Hi

Anyone have a case using R Functions (https://www.r-project.org/) in DataStage.

Thanks for any idea!!!
Cassiano Fontoura
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I cannot think of any useful application for R in an ETL environment.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well... you did ask for a "case", why one would use it rather than how one would use it, hence the answer that you got. As to your options - assuming both are equally valid methods - I'd suggest picking the path your site is best equipped to handle from a development and support standpoint.

Other than that, I've got nothing. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is there anything in R that you need that isn't also available in C++ or Java?
Last edited by ray.wurlod on Mon Nov 27, 2017 2:40 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

As Ray and Craig note, the "why" is important here.....

Technically speaking, if you know how to invoke R from Java, then it should be very straightforward. Exactly "why" you would do it is another question, but once the Engine gives control to your java class, you can do just about "whatever you want".... In theory, there might be limits on what can be done from inside the jvm that DataStage starts along with your Job, but most things can be performed.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply