From 9fd0958831338ec0f6ddf9b5e6923109efd67d73 2013-08-12 14:54:24 From: Yaroslav Halchenko Date: 2013-08-12 14:54:24 Subject: [PATCH] DOC: typos + rewording in examples/notebooks --- diff --git a/examples/notebooks/Cell Magics.ipynb b/examples/notebooks/Cell Magics.ipynb index 8d15b2e..825dc8c 100644 --- a/examples/notebooks/Cell Magics.ipynb +++ b/examples/notebooks/Cell Magics.ipynb @@ -672,7 +672,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Probably the most important magic is the `%cython` magic. This is similar to the `%%cython_pyximport` magic, but doesn't require you to specify a module name. Instead, the `%%cython` magic uses manages everything using temporary files in the `~/.cython/magic` directory. All of the symbols in the Cython module are imported automatically by the magic.\n", + "Probably the most important magic is the `%cython` magic. This is similar to the `%%cython_pyximport` magic, but doesn't require you to specify a module name. Instead, the `%%cython` magic manages everything using temporary files in the `~/.cython/magic` directory. All of the symbols in the Cython module are imported automatically by the magic.\n", "\n", "Here is a simple example of a Black-Scholes options pricing algorithm written in Cython:" ] @@ -926,14 +926,14 @@ "metadata": {}, "source": [ "One can also easily capture the results of %R into python objects. Like R, the return value of this multiline expression (multiline in the sense that it is separated by ';') is the final value, which is \n", - "the *coef(lm(X~Y))*. To pull other variables from R, there is one more magic." + "the *coef(lm(X~Y))*." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "There are two more line magics, %Rpull and %Rget. Both are useful after some R code has been executed and there are variables\n", + "To pull other variables from R, there are two more line magics, %Rpull and %Rget. Both are useful after some R code has been executed and there are variables\n", "in the rpy2 namespace that one would like to retrieve. The main difference is that one\n", " returns the value (%Rget), while the other pulls it to self.shell.user_ns (%Rpull). Imagine we've stored the results\n", "of some calculation in the variable \"a\" in rpy2's namespace. By using the %R magic, we can obtain these results and\n",