From kirill.mueller at ivt.baug.ethz.ch  Sat Mar 22 17:39:07 2014
From: kirill.mueller at ivt.baug.ethz.ch (=?ISO-8859-1?Q?Kirill_M=FCller?=)
Date: Sat, 22 Mar 2014 17:39:07 +0100
Subject: [Rd] Docker versus Vagrant for reproducability - was: The case
 for freezing CRAN
In-Reply-To: <CAPJVwBkEAhS3SXzXK1Cacd+Zbv_6v9UZFDkc348Jv8yt7LYxNQ@mail.gmail.com>
References: <3dfcdc$fuu13r@ironport9.mayo.edu>	<21290.60882.865159.407363@max.nulle.part>	<m21txv3maf.fsf_-_@krugs.de>	<6C92022B-E12F-47CE-9143-D807F2D40278@umons.ac.be>	<CABtg=KkSaXCwRLcD30ANQfGgEtPby+A1E17W5XfnGExhHPktEg@mail.gmail.com>	<m2lhw31t7z.fsf@krugs.de>	<CABtg=K=vr8uYcGCn3sTRRDqnnFYpQm_wmLUktopUG-Z0S9QzOQ@mail.gmail.com>	<4529A5D9-1940-4C3C-BC60-A4E25F897873@umons.ac.be>
	<CAPJVwBkEAhS3SXzXK1Cacd+Zbv_6v9UZFDkc348Jv8yt7LYxNQ@mail.gmail.com>
Message-ID: <532DBCAB.7060708@ivt.baug.ethz.ch>


On 03/22/2014 02:10 PM, Nathaniel Smith wrote:
> On 22 Mar 2014 12:38, "Philippe GROSJEAN" <Philippe.GROSJEAN at umons.ac.be>
> wrote:
>> On 21 Mar 2014, at 20:21, G??bor Cs??rdi <csardi.gabor at gmail.com> wrote:
>>> In my opinion it is somewhat cumbersome to use this for everyday work,
>>> although good virtualization software definitely helps.
>>>
>>> Gabor
>>>
>> Additional info: you access R into the VM from within the host by ssh.
> You can enable x11 forwarding there and you also got GUI stuff. It works
> like a charm, but there are still some problems on my side when I try to
> disconnect and reconnect to the same R process. I can solve this with, say,
> screen. However, if any X11 window is displayed while I disconnect, R
> crashes immediately on reconnection.
>
> You might find the program 'xpra' useful. It's like screen, but for x11
> programs.
>
> -n
I second that. However, by default, xpra and GNU Screen are not aware of 
each other. To connect to xpra from within GNU Screen, you usually need 
to set the DISPLAY environment variable manually. I have described a 
solution that automates this, so that GUI applications "just work" from 
within GNU Screen and also survive a disconnect: 
http://krlmlr.github.io/integrating-xpra-with-screen/ .


-Kirill



[Rd] Docker versus Vagrant for reproducability - was: The case for freezing CRAN
=?ISO-8859-1?Q?Kirill_M=FCller?=