https://prefect.io logo
Title
e

Edvard Kristiansen

03/02/2022, 10:44 AM
Machine Learning Model Written in R? Hi Guys, I have tried to search around without any luck. Is it theoretically possible to run a machine learning model written in R through a R docker image with the docker agent? Or is a Vertex custom model using the Vertex agent the only viable option here?
n

Noah Holm

03/02/2022, 11:49 AM
Yes I’d say! Technically you could do whatever you like with a ShellTask as long as you can get everything to run your command into the container
:upvote: 1
šŸ™Œ 1
šŸ‘ 1
a

Anna Geller

03/02/2022, 11:52 AM
Also, we got this fantastic community contribution of an
RTask
via Discourse: https://discourse.prefect.io/t/running-r-scripts-with-prefect/293 It allows you to natively pass a dataframe between a task written in R to a Prefect task written in Python - it's really cool, definitely worth checking out!
šŸ†’ 1
šŸ™Œ 1