https://prefect.io logo
Title
s

Sean Brady

03/20/2023, 2:05 AM
Hi, I’m new to Prefect. Is there a preferred way to run R scripts in a flow?
j

Jacob Blanco

03/20/2023, 3:16 AM
Not sure it’s preferred but we are using the shell task to run RScript, and then passing it a whole R file or a snippet of code in repeating cases like rendering RMarkdown notebooks.
s

Sean Brady

03/20/2023, 5:44 AM
yeh seems pretty much what we’re think. I managed to copy some ideas from this: https://gitlab.com/alping/prefect-r/-/tree/main