See ?Startup for how to do this via .Rprofile or etc/Rprofile.site.

The answer to your second question is that RGui is not written in tcltk (can't you tell from the speed with which it works?), but there are documented R functions for you to add menu items, such as winMenuAdd.

(I do wonder how you missed these in the searches for help, as all the terms I tried found the answers.)

On Fri, 24 Feb 2006, javier garcia-pintado wrote:

Yes.

It would be nice and useful to save the users the task of loading the source
R-TcltK code everytime they start up R. Because, in principle they are going
to use R just for this. But the R GUI must remains open

Javier
-----------------------
El Viernes, 24 de Febrero de 2006 16:39, Frank Samuelson escribió:
Do you need the user to interact with the Rgui after the code has run?

-Frank

Javier Garcia-Pintado wrote:
Hello;
I'm now using mainly R for windows, mainly because I'm writing a
tcl/Tk interface for some people, and I've got two questions. I'm an
absolute beginner with tctk or tcktk use under the R GUI.

1) Is it posible to create a shorcut that launchs the R GUI and
automatically reads the "source code" of the tcl/tk script to also
launch the tcltk interface?

2) Is the RGUI programmed with tcltk? In this case, is it possible
for an user like me to create a menu entry at the R GUI to call the
source code in this R/tcl/Tk script?

Any of the two options would be very good for us.

Thanks and best regards,

Javier



--
Brian D. Ripley,                  [EMAIL PROTECTED]
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
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to