Nothing
Code
S7_data(e)
Condition
Error in `S7_data()`:
! Can't call `S7_data()` on an environment.
See ?class_environment for details.
Code
S7_data(e) <- new.env()
Condition
Error in `S7_data<-`:
! Can't call `S7_data<-` on an environment.
See ?class_environment for details.
Code
str(e)
Output
<Foo> <environment: 0x0>
@ name: chr "bob"
Code
print(e)
Output
<Foo> <environment: 0x0>
@ name: chr "bob"
Code
str(Box(x = env))
Output
<Box>
@ x: Class 'example' <environment: 0x0>
Code
str(Box(x = e))
Output
<Box>
@ x: <Foo> <environment: 0x0>
.. @ name: chr "bob"
Code
convert(Child(), Parent)
Condition
Error in `convert()`:
! Can't call `convert()` on an environment.
See ?class_environment for details.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.