powered by
getEnvironment(pos)
getEnvironment(1) getEnvironment(length(search())) # "package:base" => NULL
Run the code above in your browser using DataLab