On Wed, Apr 15, 2009 at 11:09 AM, giovanni.marche...@ds.unifi.it
<giovanni.m.marche...@gmail.com> wrote:
>
> 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

This is a bug that was reported about a week ago, and which I fixed
for sage-3.4.1.
Sage-3.4.1 should be released in < 1 week (at most).  Also, the bugfix is here:

http://trac.sagemath.org/sage_trac/ticket/5699

Mike Hansen and I also did work yesterday to separate the Sage
notebook from Sage, thus creating a new program "sage lite" that is
just the Sage notebook and Sage interfaces:

http://trac.sagemath.org/sage_trac/ticket/5789

Since we literally did this last night, it's probably not ready for general use.

  -- William

--~--~---------~--~----~------------~-------~--~----~
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