Call function from other r module using Jupyter Lab
My question might be stupid but I’m new to Jupyter Lab and I can’t figure it out! I have this r program that I used through RStudio. I decomposed my code in several modules and called the functions I need from my main:
# in my main.r source(path/mymodule.r) m_variable = FunctionFromModule()
Now I’m trying to run it with Jupyter Lab but I’m not able to call it the same way than in RStudio. I have the following error:
Error in FunctionFromModule(): could not find function "FunctionFromModule"
What is my mistake here? Many thanks & have a great day!