Displaying 1 result from an estimated 1 matches for "golbalenv".
Did you mean:
globalenv
2014 May 09
1
Access variable in attached but removed object
How can I access an object in an attached but deleted environment, when
the object also exists in the .GolbalEnv?
I hope the example below makes the question clear:
--8<---------------cut here---------------start------------->8---
tmp <- attach(what=NULL, name="org:variables")
tmp$test = 13
rm(tmp)
test
# > 13
test <- 24
test
# > 24
ls(all=TRUE)
# > character(0)
#
# how can I...