Let say I have script calc.R with a function add.
add <- function(x, y) {
return(x+y)
}
Is it possible to import 'add' in a python script test.py ?
(Had calc been a py script I could simply: from calc import add. Is there a soltuion for calc.R ?)