Re: [R] load function to R GUI

2004-06-15 Thread Prof Brian Ripley
The first menu item on the `File' menu is called `Source R code' and calls source(). Did you look through the menus? If not, it would be worth familiarizing yourself with them. On Mon, 14 Jun 2004, Evgueni Parilov wrote: Thanks! That was exactly what I wanted. Evgueni Ko-Kang Kevin

Re: [R] load function to R GUI

2004-06-15 Thread Evgueni Parilov
Yep, shame on me. But on the other hand, this is a good example of a vague menu item. I think that instead of Source R code..., it should be Load source R code... unless it can do more than just loading a source from R file. Evgueni Prof Brian Ripley wrote: The first menu item on the `File'

Re: [R] load function to R GUI

2004-06-15 Thread Uwe Ligges
Evgueni Parilov wrote: Yep, shame on me. But on the other hand, this is a good example of a vague menu item. I think that instead of Source R code..., it should be Load source R code... unless it can do more than just loading a source from R file. No. source() does not only load, but also

Re: [R] load function to R GUI

2004-06-15 Thread Duncan Murdoch
On Tue, 15 Jun 2004 12:50:04 -0400, Evgueni Parilov [EMAIL PROTECTED] wrote : Yep, shame on me. But on the other hand, this is a good example of a vague menu item. I think that instead of Source R code..., it should be Load source R code... unless it can do more than just loading a source from

Re: [R] load function to R GUI

2004-06-15 Thread Evgueni Parilov
Thanks Uwe! Now I understand how it works and why it was called Source R code rather than Load source R code. I did not really intend to confuse anybody. I just wanted to have full information on a subject. I agree that most of the menu items are self-explained. But some of them may not!

Re: [R] load function to R GUI

2004-06-15 Thread Prof Brian Ripley
On Tue, 15 Jun 2004, Evgueni Parilov wrote: Yep, shame on me. But on the other hand, this is a good example of a vague menu item. I think that instead of Source R code..., it should be Load source R code... unless it can do more than just loading a source from R file. It is `source' not

RE: [R] load function to R GUI

2004-06-14 Thread Ko-Kang Kevin Wang
Hi, -Original Message- From: [EMAIL PROTECTED] Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them in R GUI under Windows. The only way I know is to create and edit a function inside GUI.

Re: [R] load function to R GUI

2004-06-14 Thread Evgueni Parilov
Thanks! That was exactly what I wanted. Evgueni Ko-Kang Kevin Wang wrote: Hi, -Original Message- From: [EMAIL PROTECTED] Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them