On 12/17/2016 05:58 PM, Paul Masson wrote:
Rob, that is the behavior I want and how I expected linking to work, but I would
also like the cells to evaluate automatically.

Since that feature is explicitly disabled for linked cells

OK, got it. I didn't realize that automatic evaluation of linked cells was disabled. No more ideas for me to add, but maybe someone else will see how to do this.

I'm using JavaScript
to click all of the evaluation buttons. When that is done all at the same time,
the results for the shared kernel do come back in a single output div, so
perhaps there is some timing issue that could be fixed. If I delay the clicks
for cells dependent on the cell with data, evaluation proceeds as desired.

Thanks for the working example.

On Saturday, December 17, 2016 at 4:10:20 PM UTC-8, Robert Beezer wrote:

    Dear Paul,

    Go here:

    http://abstract.pugetsound.edu/aata/permute-sage.html
    <http://abstract.pugetsound.edu/aata/permute-sage.html>

    and look at the first three Sage cells - variables from the first two are 
used
    in the third.  Is this the behavior you want?

    I believe this is using "linked" (check the config on that page), which
    makes me
    think there is something about your question that one of us doesn't 
understand.

    Rob

    On 12/17/2016 02:50 PM, Paul Masson wrote:
    > I'd like to declare a variable containing a data set in one Sage cell, 
then
    > access it from multiple cells for processing and display. Is there 
something
    > like a global namespace for the embedding web page? Since this is easily
    done in
    > notebooks, there should be a way to achieve this with embedded cells. 
Marking
    > cells as "linked" doesn't work for this because all output ends up in a
    single
    > output div.
    >
    > Thanks!
    >
    > --
    > You received this message because you are subscribed to the Google Groups
    > "sage-cell" group.
    > To unsubscribe from this group and stop receiving emails from it, send an
    email
    > to [email protected] <javascript:>
    > <mailto:[email protected] <javascript:>>.
    > To view this discussion on the web visit
    >
    
https://groups.google.com/d/msgid/sage-cell/d871bbcc-52b5-4430-acfc-aa97eab8204e%40googlegroups.com
    
<https://groups.google.com/d/msgid/sage-cell/d871bbcc-52b5-4430-acfc-aa97eab8204e%40googlegroups.com>

    >
    
<https://groups.google.com/d/msgid/sage-cell/d871bbcc-52b5-4430-acfc-aa97eab8204e%40googlegroups.com?utm_medium=email&utm_source=footer
    
<https://groups.google.com/d/msgid/sage-cell/d871bbcc-52b5-4430-acfc-aa97eab8204e%40googlegroups.com?utm_medium=email&utm_source=footer>>.

    > For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

--
You received this message because you are subscribed to the Google Groups
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-cell/82038d2c-968e-4767-8a44-861853c959b2%40googlegroups.com
<https://groups.google.com/d/msgid/sage-cell/82038d2c-968e-4767-8a44-861853c959b2%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/MTAwMDAzNC5iZWV6ZXI.1482026623%40quikprotect.
For more options, visit https://groups.google.com/d/optout.

Reply via email to