Skip to content

[Notebook Migration] Support migrating R folders #9386

Description

@zyratlo

Feature Summary

R projects often span several files, with one script calling functions that others define. This issue tracks letting users convert a local folder of R files into one Texera workflow, as the folder part of #8009 and the R counterpart of the Python folder support from #8767. Converting the files one at a time would lose the relationships between them, which is the point of migrating a project as a whole. It should reuse as much of the Python folder pipeline as possible rather than build a second one.

Proposed Solution or Design

The import modal gets an R Folder tab using the same directory picker, file limits and size limits as the Python Folder tab. The .R files are assembled into one document with a banner line per file and continuous line numbers, with a folder layout sent ahead of it; other files in the folder are named in the layout but never read. This needs R folder prompts and an R folder worked example, since the current folder prompts teach Python, and the prompt set gains a folder entry for each language. As with Python, the model names the entry point, the derived notebook shows only that file, and mapping ranges point at its call sites. The tab is gated on rNotebookMigrationEnabled like the other R options, and this starts after #8912 and #8963 merge.

Affected Area

Workflow UI

Activity

  1. added theissue type on Nov 9, 2026
  2. zyratlo commented on Nov 9, 2026

    @zyratlo
    ContributorAuthor

    /parent-issue #8009

  3. zyratlo commented on Nov 9, 2026

    @zyratlo
    ContributorAuthor

    /take

  4. added a commit that references this issue on Nov 19, 2026
    1d7c006
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