#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 vbraun):
This ticket is not about making plots in R work, if it doesn't work
without cell magic then its not going to work with the cell magic either:
{{{
sage: r.eval('''
....: Data<-local({
....: X<-runif(10)
....: Y<-2*X-1+rnorm(10)
....: data.frame(x=X,y=Y)
....: })
....: head(Data)
....: plot(y~x, data=Data)
....: S1<-summary(L1<-lm(y~x, data=Data))
....: print(S1)
....: plot(L1)
....: ''')
'\n\n\n\n\n x y\n1 0.3617674 -0.10388262\n2 0.4090705
-0.09824224\n3 0.5377436 -0.03996371\n4 0.9120714 -0.43469747\n5 0.9752907
-0.67321314\n6 0.8155862 0.57036010\n\n\n\nCall:\nlm(formula = y ~ x,
data = Data)\n\nResiduals:\n Min 1Q Median 3Q Max
\n-0.64986 -0.31262 0.07217 0.23862 0.63429 \n\nCoefficients:\n
Estimate Std. Error t value Pr(>|t|)\n(Intercept) -0.2712 0.3255
-0.833 0.429\nx 0.2541 0.5120 0.496
0.633\n\nResidual standard error: 0.4344 on 8 degrees of freedom\nMultiple
R-squared: 0.02986,\tAdjusted R-squared: -0.0914 \nF-statistic: 0.2463
on 1 and 8 DF, p-value: 0.6331\n\n'
}}}
Results in no plot. Not this ticket. Open another ticket for unrelated
feature requests.
--
Ticket URL: <http://trac.sagemath.org/ticket/19851#comment:8>
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.