#7681: R pexpect interface seems to keep data around
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |       Owner:  tbd                  
       Type:  defect    |      Status:  new                  
   Priority:  major     |   Milestone:  sage-4.3.1           
  Component:  packages  |    Keywords:  pexpect, interface, R
Work_issues:            |      Author:                       
   Upstream:  N/A       |    Reviewer:                       
     Merged:            |  
------------------------+---------------------------------------------------
 For instance:
 {{{
 sage: r.length([1,2,3,4])
 [1] 4
 sage: r.vector('c(1,2,3,4,3)')
 [1] 4
 sage: r.length([1,2,3,4])
 [1] 4
 sage: r.vector('c(1,2,3,4,3)')
 [1] 4
 sage: r.vector('c(1,2,3,4,3)')
 [1] 2
 sage: r.vector('c(1,2,3,4,3)')
 [1] 1 2 3 4 3
 sage: r.vector('c(1,2,3,4,3)')
 [1] 1 2 3 4 3
 sage: r.vector('c(1,2,3,4,3)')
 Error: object 'sage49' not found
 }}}
 Somehow the R interface is keeping stuff from previous calls and returning
 it, and then at some point choking.   Incidentally, in the above session,
 after trying many other R commands this way and always getting similar
 errors, all of a sudden
 {{{
 [1] 1 2 3 4 3
 }}}
 showed up - as the answer to something else!  Where it had been hiding, I
 can only guess.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7681>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to