Definition: A class is a collection of functions grouped together with the data these functions act upon (i.e. a collection of variables). In the context of classes, functions are no longer called function but methods, and variables are called attributes.
In [2]:
%load_ext rmagic
In [5]:
%%R
a = list(x1='Bob', x2=34, x3=list(1,2,3))
print(a)
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]: