On May 20, 5:38 pm, Maciek Sykulski <macie...@gmail.com> wrote:
> Thanks Nils.
> It turns out the problem concerns any text output from R, not only
> error messages.
> In each case R code is being evaluated (ex. values of variables
> change),
> however no sign of feedback from R if the input is too long.
>
> sage: Ri.eval(('#1')**100+"\n print(1)")
> '\n[1] 1'
> sage: Ri.eval(('#1')**1000+"\n print(1)")
> ''
>
> For now, I'll stick with this change in local/lib/python/site-packages/
> sage/interfaces/r.py
> line 1045 from:
> <        return Expect.eval(self, code, synchronize=synchronize,
> *args, **kwds)
> to:
>
> >        return Expect.eval(self, code, synchronize=synchronize, 
> > allow_use_file=False, *args, **kwds)


Update:

Apparently I solved this a year ago, and forgot.  Try the solution at
http://trac.sagemath.org/sage_trac/ticket/11436 and see if it is what
you are looking for.

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

Reply via email to