Displaying 1 result from an estimated 1 matches for "01be52f4".
2002 Oct 13
1
The class attribute on an environment seems buggy (PR#2159)
...the class attribute of
an environment:
# Define method print() for class Environment
C
print(e)
# gives:
# [1] "An Environment!"
# Exit [R]
q(save="yes")
When restarting [R] and loading the previous workspace something goes wrong(?):
% R
print(e)
# gives:
# <environment: 01BE52F4>
# attr(,"class")
# [1] "Environment"
print(class(e))
# gives:
# [1] "Environment"
print(unclass(e))
# gives:
# <environment: 01BE52F4>
# attr(,"class")
# [1] "Environment"
str(e)
# gives because of the malfunctioning unclass():
# Class...