I'm using a package from github and functions in it are not... connected. The main file has a function but to make that function work i need to run 4 diffrent files (3 files got a lot of functions in them and 1 has class). Do we have any option to import whole scripts (with all the functions, classes, variables) on top of my main file so they will appear in my enviroment?
for exmaple in file "foo.R" i have a function "food = function(...)" so i do smth like
from foo.R import food
result <- 2*food(a,b,c)
or
from foo.R import *
result <- 2*foo.food(a,b,c)
like in python?