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. But what if I want to edit it in Emacs (do not want to use ESS) and then load into GUI? Any suggestions... Evgueni
Hi,> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch> Hi all! > I looked through the manual and FAQ, and did not find anyinformation> on how to load functions from files (with .R extension) to run themin> R GUI under Windows. The only way I know is to create and edit a > function inside GUI. But what if I want to edit it in Emacs (do not > want to use ESS) and then load into GUI? > Any suggestions...Do you mean ?source? i.e. save your function in, say, foo.R then use the source() function to get it in. HTH Kevin
Thanks! That was exactly what I wanted. Evgueni Ko-Kang Kevin Wang wrote:>Hi, > > >>-----Original Message----- >>From: r-help-bounces at stat.math.ethz.ch >> >> > > > >>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. But what if I want to edit it in Emacs (do not >>want to use ESS) and then load into GUI? >>Any suggestions... >> >> > >Do you mean ?source? > >i.e. save your function in, say, foo.R then use the source() function >to get it in. > >HTH > >Kevin > > > > > >