Ask Your Question

Leo Luiz Castro's profile - activity

2017-09-15 20:56:15 +0200 commented question Why does underscore for last output not work in worksheets uploaded from local SageMath to Cocalc?

It seems now I can post links. Here's the uploaded worksheet: https://cocalc.com/projects/b6983958-...

Here's the worksheet created from scratch: https://cocalc.com/projects/b6983958-...

2017-09-15 14:44:53 +0200 received badge  Student (source)
2017-09-15 14:44:46 +0200 asked a question Why does underscore for last output not work in worksheets uploaded from local SageMath to Cocalc?

My commands are like this:

vector([x1,y1,z1])

r1 = _

And I get this message:

Error in lines 1-1
Traceback (most recent call last):
  File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 995, in execute
    exec compile(block+'\n', '', 'single') in namespace, locals
  File "", line 1, in <module>
NameError: name '_' is not defined

However, copying and pasting commands into a new worksheet make that feature work again. Why?

I have links to illustrate it, but my karma is insufficient to post them here.