[IPython-dev] rmagic in notebook
Sun Dec 2 13:14:23 CST 2012
On 2 December 2012 18:50, Satrajit Ghosh <firstname.lastname@example.org> wrote:
> the invalid syntax came from using %R instead of %%R with multiline code -
> we could perhaps improve the error message.
As with lots of error messages, the trick is working out what the user
meant - %R is perfectly valid as a line magic, after all. %R could raise an
error if it gets no arguments, but a SyntaxError like the one you saw will
be raised when we try to parse the cell, which is before line magics get
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev