3

I have an iPython notebook that is completely made up of R cells. At the start of every cell, I have defined my R cell magic as follows:

%%R

However, is there a way to have just set that as a default for the entire notebook, so I don't have to type it into every cell?

orange1
  • 2,871
  • 3
  • 32
  • 58
  • 1
    If you are planning to write `R` in every single cell, maybe using a python kernel is not the right choice for you. There is a project named [`IRKernel`](https://github.com/IRkernel/IRkernel) that gives you a native kernel in `R`. Then every cell is evaluated by an `R` interpreter. – cel May 27 '15 at 20:08

1 Answers1

2

IRKernel is an R kernel for ipython/jupyter as suggested by @cel. There are lots of other kernels that you can use.

BuZain
  • 168
  • 8