Several R functions for manipulating objects in environments (such as
  get and ls) allow specifying environments
  via corresponding positions in the search path.  pos.to.env is
  a convenience function for programmers which converts these positions
  to corresponding environments; users will typically have no need for
  it.  It is primitive.
-1 is interpreted as the environment the function is called
  from.
This is a primitive function.