-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R desktop gui #122
Comments
I think a wiki page on how to do display forwarding would be of valuable, For instance, I run the r-base images like this all the time in terminal It would be good to document what platforms it has been tested on though at On Wed, Apr 29, 2015 at 12:43 PM Thell notifications@github.com wrote:
|
That's exactly what I was thinking regarding 'generalized'. Perhaps even the simple R-base gui version isn't truly general enough... I have no clue how this would work on Mac or Windows. These types of setups do make working with 'rgl' nice and easy though. :) |
Looks like on Ubuntu >= 15.04 you now need to deal with XAuthority permissions as well to get this to work, as described here: http://stackoverflow.com/questions/16296753/can-you-run-gui-apps-in-a-docker-container/25280523#25280523 Also, I've made a very brief page on the Wiki to address this, please edit as you see fit. |
@cboettig Interesting. I've not had a need to mess with anything but |
@cboettig I finally got around to posting some dockerfiles particularly a RStudio Desktop Preview dockerfile that gives what I believe to be everything required to use all of the builtin features of RStudio with only a few additional things (ccache, clang-format, some cli utils). The I've been using this setup for a couple of months now and through each update of RStudio Preview and have been real happy with it. |
wrong button... still want further discussion, ideas and such |
This isn't an issue. It was mentioned to me by @eddelbuettel to possibly make a wiki entry regarding an image I was playing with that runs RStudio preview on the desktop but IMO it wasn't even close to being generalized enough so....
I'm running Ubuntu Gnome 15.04 and docker master with a docker group instead of sudo...
The containers need to have access to the xhost...
R base gui
( interactive plotting works as expected too. )
R-base ESS - Dockerfile
Other simple tk interfaces seem to be equally as easy. No xvfb needed. When playing with RStudio it is more involved and quite a bit more stuff is needed to make use of the full IDE, I'm guessing that is also true for the ESS example, but it is just an example. :)
If these types of things are a fit for the wiki, would a page along the lines of 'Rocker Desktop' work?
The text was updated successfully, but these errors were encountered: