##// END OF EJS Templates
Merge pull request #4209 from davclark/magic-doc-fixes...
Thomas Kluyver -
r12548:23b8d0b2 merge
parent child Browse files
Show More
@@ -4,9 +4,18 b''
4 Cython related magics
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 Usage
14 Usage
8 =====
15 =====
9
16
17 To enable the magics below, execute ``%load_ext cythonmagic``.
18
10 ``%%cython``
19 ``%%cython``
11
20
12 {CYTHON_DOC}
21 {CYTHON_DOC}
@@ -11,9 +11,13 b' Magics for interacting with Octave via oct2py.'
11 The ``oct2py`` module needs to be installed separately and
11 The ``oct2py`` module needs to be installed separately and
12 can be obtained using ``easy_install`` or ``pip``.
12 can be obtained using ``easy_install`` or ``pip``.
13
13
14 You will also need a working copy of GNU Octave.
15
14 Usage
16 Usage
15 =====
17 =====
16
18
19 To enable the magics below, execute ``%load_ext octavemagic``.
20
17 ``%octave``
21 ``%octave``
18
22
19 {OCTAVE_DOC}
23 {OCTAVE_DOC}
@@ -6,9 +6,18 b' Rmagic'
6
6
7 Magic command interface for interactive work with R via rpy2
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 Usage
16 Usage
10 =====
17 =====
11
18
19 To enable the magics below, execute ``%load_ext rmagic``.
20
12 ``%R``
21 ``%R``
13
22
14 {R_DOC}
23 {R_DOC}
@@ -425,7 +434,7 b' class RMagics(Magics):'
425 is printed if it would printed be when evaluating the same code
434 is printed if it would printed be when evaluating the same code
426 within a standard R REPL.
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 In [10]: %%R
439 In [10]: %%R
431 ....: Y = c(2,4,3,9)
440 ....: Y = c(2,4,3,9)
@@ -447,7 +456,7 b' class RMagics(Magics):'
447 Multiple R-squared: 0.6993,Adjusted R-squared: 0.549
456 Multiple R-squared: 0.6993,Adjusted R-squared: 0.549
448 F-statistic: 4.651 on 1 and 2 DF, p-value: 0.1638
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 %R plot(X, Y)
461 %R plot(X, Y)
453
462
General Comments 0
You need to be logged in to leave comments. Login now