I can get obj_name list from the environment, but how to get obj_name from a .r file?
I tried ls but is only get obj_name from the environment, but I need get from R file, eg:
# filename test.R
func_1=function(){...}
func_2=function(){...}
func_3=function(){...}
c_1=R6Class()
#page end
I want to get test.R
's obj list name.
Like this:
"func_1","func_2","func_3","c_1"