Closed ryamy closed 3 years ago
You probably need to setup X forwarding.
It's usually as simple as using the -X
and sometimes -t
flags. I'm not super familiar with Docker, but the line is usually something like ssh -X -t user@server
.
Thanks for your comment.
The problem was solved when I used rocker/verse image instead of rocker/rstudio image without any modification. I suppose perhaps rocker/rstudio image does not contain X components.
And I think procedure written in following url is better rather than using build ssh-server in container. Dockerized UI Apps in Docker for Desktop MacOS 2018+
I really love emacs-ess / R and have been using that on local machine. Now I would like to access R running on docker container through ess.
I could connect R running on docker through ESS by following site(https://gtown-ds.netlify.app/2017/08/16/docker-emacs/), but when plotting, it does not work. Is there any good way to use ESS/R with graphics on docker?
R console log
Dockerfile
OS: macOS 11.0.1 emacs version: GNU Emacs 27.1 ESS version: 20201101.811