Skip to content

Add UI parameter support for R UDF operators #9277

Description

@carloea2

Feature Summary

Add UI parameter support to the R UDF and 1-out R UDF operators. Users should be able to configure typed values from the properties panel without editing constants in their R scripts, as they can with Python UDFs.

Proposed Solution or Design

Infer parameter names and types from active declarations in the R script and display them in the existing parameter editor. For example:

count <- UiParameter("count", AttributeType$INT)$value
function(table, port) {
  head(table, count)
}
R declaration -> properties panel -> saved workflow -> typed R value

Support tuple and table APIs for both R operators. Keep names and types tied to the script, preserve entered values during code edits, and allow adding declarations from the panel. Support the same parameter types and model/dataset selections as Python UDFs, with clear errors for duplicate declarations and invalid values.

Affected Area

Workflow Engine (Amber), Workflow UI

Activity

  1. carloea2 commented on Nov 3, 2026

    @carloea2
    ContributorAuthor

    /take

  2. added theissue type on Nov 3, 2026
  3. added a commit that references this issue on Nov 4, 2026
  4. added a commit that references this issue on Nov 4, 2026
    a786d47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions