as.data.frame function

Convert a pim.environment to a data frame