#19851: Interpreter cell magics in Jupyter
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.0
      Component:  interfaces         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/interpreter_cell_magics_in_jupyter|  
6f7176f3f9981af65af8fbb4724def5f9bae6d6e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by charpent):

 Found another problem. I tried the command line, and pasted the content of
 my shallow R test :
 {{{
 sage: %r

   --> Switching to R Interpreter <--

 r: Data<-local({
 .:         X<-runif(10)
 .:         Y<-2*X-1+rnorm(10)
 .:         data.frame(x=X,y=Y)
 .:     })
   File "<ipython-input-1-09df7c3d19e1>", line 3
     Y<-2*X-1+rnorm(10)
     ^
 SyntaxError: invalid syntax

 r: head(Data)
 Error in head(Data) : objet 'Data' introuvable
 r: plot(y~x, data=Data)
 Error in eval(expr, envir, enclos) : objet 'Data' introuvable
 r: S1<-summary(L1<-lm(y~x, data=Data))
 Error in is.data.frame(data) : objet 'Data' introuvable
 r: print(S1)
 Error in print(S1) : objet 'S1' introuvable
 r: plot(L1)
 Error in plot(L1) : objet 'L1' introuvable
 r: [ Here, I typed ^D ]

   --> Exiting back to Sage <--

 sage:
 }}}

 That one is new, as far as I can tell...

 When trying the shallow R test in the '''Sage''' notebook, I get first all
 the text outût of the R commands, then four of the five expected plots,
 then a "broken image" icon.

 ==> Still {{{needs_work}}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19851#comment:12>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to