On Tue, May 12, 2015 at 6:37 AM, Doyley, Marvin M.
<mdoy...@ur.rochester.edu> wrote:
> Hi there,
>
> If run the follow codes I get the following, could someone explain to me what 
> is going wrong
[snip]
> PS in .emacs, I have (setq org-babel-python-command "ipython --no-banner 
> --classic --no-confirm-exit")

To reliably paste code blocks into IPython, you will have to use
%cpaste magic command.  See any of these links[1][2][3] for code you
can reuse.

[1] - 
https://github.com/punchagan/dot-emacs/blob/master/punchagan.org#python-customizations
[2] - https://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00405.html
[3] - 
http://emacs.stackexchange.com/questions/3859/working-setup-for-ipython-in-babel

Hope that helps,
Puneeth

Reply via email to