If you're going to run it in batch mode, then you'll need a gtkMain() to keep the process from exiting. If you want to use rgui.exe, you can place a .Rprofile (with your commands) in the directory listed as the "start in" directory of the shortcut. See the R docs for more info on profiles.
Michael On Sun, Apr 18, 2010 at 8:02 AM, chris <chg...@hotmail.com> wrote: > Hi all, > I want to start a Rgtk2 script under Windows by iconclick. But > possibilities like starting rgui.exe -f filename doesn't work. > Also a batchfile did not work. After executing the script. no gtk gui is > visible. > How can I start a Rscript with rgtk2 library in Windows? > > > greetings, chris > > _______________________________________________ > R-SIG-GUI mailing list > R-SIG-GUI@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-gui > [[alternative HTML version deleted]] _______________________________________________ R-SIG-GUI mailing list R-SIG-GUI@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-gui