I have 2 environments I would like to compare. What is the best way to do that? Should I use some sort of binary comparison to check if they are identical? I currently tried the following options, but I am not sure if its the proper way:
env1 = load("environment1")
env2 = load("environment2")
all.equal(env1, env2)
identical(env1, env2)
both return true, I tried isTRUE(all.equal.environment(env1,env2))
, this returns FALSE since its says its characters I'am comparing..
I am pretty new in R , so all tips are welcom!