Perfect, it works. Thanks a lot!

I now run a shell in emacs, run a docker container in the shell, and julia 
in the container, and I connect to it with M-x ess-remote. However, I also 
guess that using emacs tramp should be a better approach, as the ESS manual 
says: 

The recommended way to access a statistical program on remote computer is 
> to start it with tramp.

 
Do you by any chance know how to ssh into a container? What do I need as 
user and host in /ssh:user@host? Do I need to ssh into the container on its 
starting, or do I connect to it when it is already running? I didn't find 
anything about it.

On Tuesday, 27 January 2015 00:14:15 UTC+1, Kirill Ignatiev wrote:
>
> On Monday, 26 January 2015 08:26:24 UTC-5, Christian Groll wrote:
>>
>> I did set up Julia in a docker container. When I run it from the shell 
>> everything works just fine. However, when I start the shell inside of 
>> emacs, I can run the docker container and start Julia, but it somehow 
>> messes with the output:
>>
>
> This seems like a configuration problem, those garbage characters look 
> like special shell escape codes. So try running julia with a command like
>
> TERM=dumb julia --color=no
>
> Maybe that will help.
>
> Also, you say that you run julia in a shell. There is an ESS interactive 
> mode for julia (M-x julia), which allows you to start remote julia 
> processes by specifying the julia starting directory as "/ssh:user@host:" 
> (see ESS's manual; also, make sure it can find julia in path; see 
> tramp-remote-path and tramp-own-remote-path). I think that's also worth 
> trying.
>

Reply via email to