[R] Problem with batch-file

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Nov 3 11:51:52 CET 2003

That's exactly what a batch file should do.  There is no GUI to run.

Please tell us what you actually want to do!

On Mon, 3 Nov 2003, Morach Sascha, moracsa1 wrote:

> Hi
> I have written a graphical user interface using tcltk. Now I would like to run it under rterm.exe with a batch file. I tried the following code written in a .bat file:
>  d:\R\rw1071\bin\Rterm.exe --no-restore --no-save <d:\RGui.r> d:\RGui.out
> The problem is that rterm does open but the gui isn't running properly. After a few seconds rterm is closeing without doing anything more than print the first gui window. If I run the same r-code in the normal RGui.exe I don't have any problems.
> Does anyone know what I'm doing wrong, or is there a help file which explains  the needed code?
> thanks
> Sascha Morach, a student from ZHW  switzerland

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list