Dear William, Le dimanche 13 décembre 2015 00:44:08 UTC+1, William a écrit :
[ Snip ] > > It seems like the official R kernel for Jupyter, which you don't > mention, is relevant: http://irkernel.github.io/ > Indeed. That's what I want to use : it works, ... provided that the rpy2 interface is young enough (not the case for 2.3.2, our current version...). I was a bit too focused on my immediate problem. [ Snip ] > Is the **entire** problem that you have to write > > r.eval(r""" > > stuff > > """) > instead of the syntax niceness of > > %r > > stuff > > ? > Did you try that on the Jupyter notebook ? I wouldn't have any problem with that if r.eval(r""" plot(rnorm(1000),rnorm(1000)) """) did display anything vaguely resembling a points cloud (instead of "''") (and, yes, I did try r.eval(r""" png() plot(rnorm(1000),rnorm(1000)) dev.off() """) which displays (and returns) ('\n\npng \n 2 '). BTW, this has been broken for some serious time : in the Sage notebook (in "maintainance mode"), the availability of graphics seemed for a time to depend of the availability of an R installation in the client machine (see Trac#14071 <http://trac.sagemath.org/ticket/14071> for details). Nowadays, we get only the "missing picture" icon... if used on (from) a machine without R installed. Hoping to having been clearer... -- Emmanuel Charpentier -- You received this message because you are subscribed to the Google Groups "sage-devel" 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-devel. For more options, visit https://groups.google.com/d/optout.
