[R] load function to R GUI

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jun 15 09:10:35 CEST 2004


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 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
> >
> >
> >
> >
> >  
> >
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
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