Hi, I’m new to Prefect. Is there a preferred way t...
# ask-community
s
Hi, I’m new to Prefect. Is there a preferred way to run R scripts in a flow?
j
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
yeh seems pretty much what we’re think. I managed to copy some ideas from this: https://gitlab.com/alping/prefect-r/-/tree/main