Skip to Content
0
Former Member
Aug 01, 2016 at 03:44 PM

PA3.0 - Issues with Output Table Definition in Custom R Component

39 Views

Dear all,

i'm currently creating a custom R component that outputs a data.frame with multiple columns.

The number of columns of said data.frame depends on the number of columns of the input data set.

I would like the component to be as flexible as possible, so it can be applied to a variety of data sets, without the need to change the component's specifications every time.

My problem here is that if do not specify the exact same number of columns in the Output Table Definition in the component's 'Settings' tab,

running the component always returns an error (e.g. "Data returned on executing RScript is null").

Does anyone have an idea how to approach this issue?

Many thanks in advance and best regards,

Felix