In [8]:
%load_ext rmagic
In [11]:
%%R
a <- c(1, 2, 3, 4)
print(a)
[1] 1 2 3 4