zyratlo opened a new issue, #9385: URL: https://github.com/apache/texera/issues/9385
### Feature Summary Not every R analysis is a notebook; a lot of it is plain `.R` scripts. This issue tracks letting users convert a single R file into a Texera workflow of R UDFs, as the file part of #8009. It should behave the same way the Python file support from #8007 does, so a user gets a workflow, a notebook to look at, and click to highlight between them. Like R notebooks, it should be gated on the same R flag. When the flag is off, the option should be visible but disabled. ### Proposed Solution or Design The import modal gets an R File tab beside the Python File tab, with its own diagram and description, accepting `.R` and `.r`. The file is converted with the R script prompts from #8911, which show the source with line numbers and ask the model for the line ranges each UDF came from. The tool then derives the notebook cells from those ranges, exactly as the Python file path does. The dashboard routes an R file to the R script conversion, and a Python file uploaded on the R tab is rejected. The tab is disabled with the "R is not enabled on this deployment." tooltip when `rNotebookMigrationEnabled` is off. The work is in #8963. ### Affected Area Workflow UI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
