Re: [R] Gui immediately closes when started from command-line

2011-05-19 Thread Albert-Jan Roskam
, May 19, 2011 9:54:13 AM Subject: Re: [R] Gui immediately closes when started from command-line I had a problem similar to this I think. Though I cannot remember the symptoms. Something to to with the lack of possible interaction with the console as I was using R as a backend to a Qt interface

Re: [R] Gui immediately closes when started from command-line

2011-05-19 Thread Jonathan Gabris
I had a problem similar to this I think. Though I cannot remember the symptoms. Something to to with the lack of possible interaction with the console as I was using R as a backend to a Qt interface. To solve the problem I used the flag: '--ess' (using '--vanilla' is also a good idea) (cf Appe

[R] Gui immediately closes when started from command-line

2011-05-19 Thread Albert-Jan Roskam
Hello, I want to run an r script that contains code for a gui (rgtk) on the command line (windows 2000, 32 bits) using R2.10.1, but the Gui disappears a few miliseconds after I started the program. What switch should I use to prevent this? I tried r.exe, rterm.exe and rscript.exe with various c