Hi all,
I have a question about exposing user-defined R functions to Python code.
I have created R functions in my utils.R file. Currently, in my R Markdown document, I just run
source("utils.R")
and use the functions. The functions generally bring in relatively standard data types (data frames, numbers, dates).
I have some colleagues who use Python who want to use the functions, and I would (ideally) not like to rewrite them in Python.
Is there a way to use the reticulate package to turn them into files to be run from python directly (not from python through R).
Thanks!