Dynamic Sage notebooks are really amazing.

I'm also an R user and I would like very much
to use sage to create notebooks with statistical examples
in R .  Is this possible?

By the way , I thought it was allowed  to execute
R code within an R notebook.
However I tried to change the interpreter to "r" in the notebook
but this did  not work for me (version 3.4, running Linux)

I typed

x = 0

and I got

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gmm/.sage/sage_notebook/worksheets/admin/32/code/1.py",
line 6, in <module>
    print _support_.syseval(r, ur'''x = 0''', '/home/gmm/.sage/
sage_notebook/worksheets/admin/32/cells/1')
  File "/home/gmm/sage-3.4/local/lib/python2.5/site-packages/sage/
server/support.py", line 353, in syseval
    return system.eval(cmd, sage_globals, locals = sage_globals)
  File "/home/gmm/sage-3.4/local/lib/python2.5/site-packages/sage/
interfaces/r.py", line 982, in eval
    ret = Expect.eval(self, code, synchronize=True, *args,**kwds)
TypeError: eval() got multiple values for keyword argument
'synchronize'

Thank you

-- Giovanni Marchetti

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to