rmagic: external viewer and r devs #2857

Open
memeplex opened this Issue Jan 27, 2013 · 2 comments

Projects

None yet

3 participants

@memeplex
Contributor

I'm using the %rmagic extension. For plotting stuff it works similar to the pylab inline backend so that it plays well with the qt and notebook frontends. But it's not possible to redirect rich data display to some external app (say xdg-open) from the classic console frontend.

Also the %rmagic extension is unnecessarily forcing inline graphic output. rpy2.interactive.process_revents does a good job for the x11 dev (and it allows for interactive selection too) and IMHO an option should be provided to turn off the inline mode in order to be able to plot to another device.

So this is and && or || of two feature requests:

1 - allow to configure an external app to show images (I would extend this to: allow an external to show rich content in general)

2 - allow to use r devs as graphic backends (this could be desirable even in the qt and notebook frontends, given the ||-case)

Owner
  1. Is already possible over ZMQ, but it would be good to work out a way for the same machinery to run in the plain terminal version.
Owner

Continued from this mailing list thread.

Yes, I think something like a %Rgraphicsdevice magic would make sense.

@minrk minrk removed the type-enhancement label Jan 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment