Code without visible output:
In [1]:
a <- 8
In [2]:
b <- 4:59
With visible output:
In [3]:
a + b
Out[3]:
Printing is captured and sent to the frontend:
In [4]:
print('Hello world! Love, R in IPython.')
So are errors:
In [5]:
h
Plotting works too:
In [6]:
x = seq(0, 2*pi, length.out=50)
plot(x, sin(x))