Does anyone have experience calling R scripts or u...
# ask-community
a
Does anyone have experience calling R scripts or using code in prefect task? Any tips of things to look out for. And no, this task cannot be done with pure python.
n
hi @António Domingues you might want to check out prefect-shell, ShellOperation.run is the common way to invoke an arbitrary subprocess in prefect. also if you end up needing interprocess observability you might explore emitting events from R
gratitude thank you 1
a
This will be an endpoint, that is R will produce some files which could be saved directly to s3, so I might be ok without interprocess observability for now. But good tip
catjam 1