Sharedsupport / 2015-02-04-062417-scilab-limits.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
scilab('2+3')

5.
scilab(range(20))

Error in lines 1-1 Traceback (most recent call last): File "/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/.sagemathcloud/sage_server.py", line 873, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 207, in __call__ return self._coerce_impl(x, use_special=False) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 257, in _coerce_impl r = self.new('%s%s%s'%(self._left_list_delim(), X, self._right_list_delim())) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 264, in new return self(code) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 199, in __call__ return cls(self, x, name=name) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1306, in __init__ self._name = parent._create(value, name=name) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 389, in _create self.set(name, value) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/scilab.py", line 311, in set out = self.eval(cmd) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/scilab.py", line 278, in eval s = Expect.eval(self, command, **kwds).replace("\x1b[4l \x08\x1b[0m","").strip() File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1220, in eval return self._eval_line_using_file(code) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 724, in _eval_line_using_file if "Input/output error" in msg[0]: # This occurs on non-linux machines IndexError: tuple index out of range
scilab(str(range(20)))

column 1 to 12 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. column 13 to 20 12. 13. 14. 15. 16. 17. 18. 19.
scilab(str(range(30)))

Error in lines 1-1 Traceback (most recent call last): File "/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/.sagemathcloud/sage_server.py", line 873, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 199, in __call__ return cls(self, x, name=name) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1306, in __init__ self._name = parent._create(value, name=name) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 389, in _create self.set(name, value) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/scilab.py", line 311, in set out = self.eval(cmd) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/scilab.py", line 278, in eval s = Expect.eval(self, command, **kwds).replace("\x1b[4l \x08\x1b[0m","").strip() File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1220, in eval return self._eval_line_using_file(code) File "/usr/local/sage/sage-6.4/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 724, in _eval_line_using_file if "Input/output error" in msg[0]: # This occurs on non-linux machines IndexError: tuple index out of range
r(range(30))

[1] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
r(range(10000))

Error: object 'sage11001' not found