How to import an .R file and assign an alias to it? Like import myfile.R as mf
问题 R beginner here, who really misses Python's import pandas as pd import my_file_which_is_just_a_file_not_a_package as mf out = mf.my_cool_function() I have found a way to implement something similar to the former (assigning an alias to a package), but how to do the latter, i.e. how to assign an alias to an .R file (not a package) you are importing? E.g. you have put some functions you use frequently into a separate .R file, or you are dividing your program into multiple .R files to keep things