[IPython-dev] notebook %magic
Ralf Hemmecke
hemmecke at gmail.com
Thu May 31 17:59:02 EDT 2012
Oh, there is line-level and cell-level... I didn't know.
Anyway, eventually, I'd like to have fricas the default type of all
cells without explicitly specifying it in each cell.
Sorry that I don't yet understand, whether that is possible at all. I'm
currently trying to install ipython and the connection to R.
Ralf
On 05/31/2012 11:16 PM, Brian Granger wrote:
> No, when a cell begins with `%%`, all further preprocessing of the
> cell is halted, so `%pi` in the middle of a fricas cell would work
> just fine.
>
> On Thu, May 31, 2012 at 2:15 PM, Jason Grout
> <jason-sage at creativetrax.com> wrote:
>> On 5/31/12 4:09 PM, Matthias Bussonnier wrote:
>>> wouldn't a %%fricas cell magic get the whole text of the cell and be
>>> able to process %pi in a different manner than what IPython does now ?
>>>
>>
>> Does IPython look for line-level magics inside of cell-level magics?
>> Would IPython consider %pi a line-level magic invocation, even if it was
>> in a %%fricas cell?
>>
>> Jason
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
More information about the IPython-dev
mailing list