Show More
@@ -4,9 +4,18 b'' | |||
|
4 | 4 | Cython related magics |
|
5 | 5 | ===================== |
|
6 | 6 | |
|
7 | Magic command interface for interactive work with Cython | |
|
8 | ||
|
9 | .. note:: | |
|
10 | ||
|
11 | The ``Cython`` package needs to be installed separately. It | |
|
12 | can be obtained using ``easy_install`` or ``pip``. | |
|
13 | ||
|
7 | 14 | Usage |
|
8 | 15 | ===== |
|
9 | 16 | |
|
17 | To enable the magics below, execute ``%load_ext cythonmagic``. | |
|
18 | ||
|
10 | 19 | ``%%cython`` |
|
11 | 20 | |
|
12 | 21 | {CYTHON_DOC} |
@@ -11,9 +11,13 b' Magics for interacting with Octave via oct2py.' | |||
|
11 | 11 | The ``oct2py`` module needs to be installed separately and |
|
12 | 12 | can be obtained using ``easy_install`` or ``pip``. |
|
13 | 13 | |
|
14 | You will also need a working copy of GNU Octave. | |
|
15 | ||
|
14 | 16 | Usage |
|
15 | 17 | ===== |
|
16 | 18 | |
|
19 | To enable the magics below, execute ``%load_ext octavemagic``. | |
|
20 | ||
|
17 | 21 | ``%octave`` |
|
18 | 22 | |
|
19 | 23 | {OCTAVE_DOC} |
@@ -6,9 +6,18 b' Rmagic' | |||
|
6 | 6 | |
|
7 | 7 | Magic command interface for interactive work with R via rpy2 |
|
8 | 8 | |
|
9 | .. note:: | |
|
10 | ||
|
11 | The ``rpy2`` package needs to be installed separately. It | |
|
12 | can be obtained using ``easy_install`` or ``pip``. | |
|
13 | ||
|
14 | You will also need a working copy of R. | |
|
15 | ||
|
9 | 16 | Usage |
|
10 | 17 | ===== |
|
11 | 18 | |
|
19 | To enable the magics below, execute ``%load_ext rmagic``. | |
|
20 | ||
|
12 | 21 | ``%R`` |
|
13 | 22 | |
|
14 | 23 | {R_DOC} |
@@ -425,7 +434,7 b' class RMagics(Magics):' | |||
|
425 | 434 | is printed if it would printed be when evaluating the same code |
|
426 | 435 | within a standard R REPL. |
|
427 | 436 | |
|
428 |
Nothing is returned to python by default in cell mode |
|
|
437 | Nothing is returned to python by default in cell mode:: | |
|
429 | 438 | |
|
430 | 439 | In [10]: %%R |
|
431 | 440 | ....: Y = c(2,4,3,9) |
@@ -447,7 +456,7 b' class RMagics(Magics):' | |||
|
447 | 456 | Multiple R-squared: 0.6993,Adjusted R-squared: 0.549 |
|
448 | 457 | F-statistic: 4.651 on 1 and 2 DF, p-value: 0.1638 |
|
449 | 458 | |
|
450 |
In the notebook, plots are published as the output of the cell |
|
|
459 | In the notebook, plots are published as the output of the cell:: | |
|
451 | 460 | |
|
452 | 461 | %R plot(X, Y) |
|
453 | 462 |
General Comments 0
You need to be logged in to leave comments.
Login now