Thanks, we tried it, but it didn't solve the problem. Some more info (mostly 
strings of ++++) was shown in the Dos box, but that was all. 

 Cheers!!
Albert-Jan 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public 
order, irrigation, roads, a fresh water system, and public health, what have the 
Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 




________________________________
From: Jonathan Gabris <jonathan@k-m-p.nl>
To: r-help@r-project.org
Sent: Thu, 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.

To solve the problem I used the flag: '--ess'
(using '--vanilla' is also a good idea)

(cf Appendix B:Invoking R, in one of the R manuals)

Hope this helps.

Jonathan.

> 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 combinations of
> switches, but none of them works.
>  
> TIA
> Cheers!!
> Albert-Jan
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> All right, but apart from the sanitation, the medicine, education, wine,
public
> order, irrigation, roads, a fresh water system, and public health, what have 
>the
> Romans ever done for us?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]

